Метод | Описание | |
---|---|---|
AddHeader ( string key, IEnumerable |
Set header, adding to any other values this header may have
|
|
AddHeader ( string key, string value ) : Response |
Set header with a string, adding to any other values this header may have
|
|
AddHeaders ( string>.IDictionary |
||
AddHeaders ( IDictionary |
||
AddToBody ( ) : Response |
Set the body to one or many objects, adding to any other values the body may have
|
|
Clear ( ) : void | ||
GetBody ( ) : IEnumerable | ||
GetHeader ( string key ) : string |
Returns the first value of the given header or null if the header does not exist
|
|
Redirect ( int statusCode, string location ) : Response | ||
Redirect ( string location ) : Response | ||
Response ( ) : System | ||
Response ( IResponse response ) : System | ||
Response ( int statusCode, string>.IDictionary |
||
Response ( int statusCode, IDictionary |
||
Response ( int statusCode, string bodyText, string>.IDictionary |
||
Response ( int statusCode, string bodyText, IDictionary |
||
Response ( string bodyText ) : System | ||
Response ( string bodyText, string>.IDictionary |
||
Response ( string bodyText, IDictionary |
||
Response ( string bodyText, int statusCode ) : System | ||
Response ( string bodyText, string status ) : System | ||
SetBody ( ) : Response |
Set the body to one or many objects, overriding any other values the body may have
|
|
SetHeader ( string key, IEnumerable |
Set header, overriding any other values this header may have
|
|
SetHeader ( string key, string value ) : Response |
Set header with a string, overriding any other values this header may have
|
|
SetStatus ( int statusCode ) : Response | ||
SetStatus ( string status ) : Response | ||
SetValidDefaults ( ) : void | ||
Write ( string writeToBody ) : Response |
public AddHeader ( string key, IEnumerable |
||
key | string | |
value | IEnumerable |
|
Результат | Response |
public AddHeader ( string key, string value ) : Response | ||
key | string | |
value | string | |
Результат | Response |
public AddHeaders ( string>.IDictionary |
||
headers | string>.IDictionary | |
Результат | void |
public AddHeaders ( IDictionary |
||
headers | IDictionary |
|
Результат | void |
public Redirect ( int statusCode, string location ) : Response | ||
statusCode | int | |
location | string | |
Результат | Response |
public Redirect ( string location ) : Response | ||
location | string | |
Результат | Response |
public Response ( IResponse response ) : System | ||
response | IResponse | |
Результат | System |
public Response ( int statusCode, string>.IDictionary |
||
statusCode | int | |
headers | string>.IDictionary | |
Результат | System |
public Response ( int statusCode, IDictionary |
||
statusCode | int | |
headers | IDictionary |
|
Результат | System |
public Response ( int statusCode, string bodyText, string>.IDictionary |
||
statusCode | int | |
bodyText | string | |
headers | string>.IDictionary | |
Результат | System |
public Response ( int statusCode, string bodyText, IDictionary |
||
statusCode | int | |
bodyText | string | |
headers | IDictionary |
|
Результат | System |
public Response ( string bodyText ) : System | ||
bodyText | string | |
Результат | System |
public Response ( string bodyText, string>.IDictionary |
||
bodyText | string | |
headers | string>.IDictionary | |
Результат | System |
public Response ( string bodyText, IDictionary |
||
bodyText | string | |
headers | IDictionary |
|
Результат | System |
public Response ( string bodyText, int statusCode ) : System | ||
bodyText | string | |
statusCode | int | |
Результат | System |
public Response ( string bodyText, string status ) : System | ||
bodyText | string | |
status | string | |
Результат | System |
public SetHeader ( string key, IEnumerable |
||
key | string | |
value | IEnumerable |
|
Результат | Response |
public SetHeader ( string key, string value ) : Response | ||
key | string | |
value | string | |
Результат | Response |
public SetStatus ( int statusCode ) : Response | ||
statusCode | int | |
Результат | Response |
public SetStatus ( string status ) : Response | ||
status | string | |
Результат | Response |
public Write ( string writeToBody ) : Response | ||
writeToBody | string | |
Результат | Response |