Méthode | Description | |
---|---|---|
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 |
|
Résultat | Response |
public AddHeader ( string key, string value ) : Response | ||
key | string | |
value | string | |
Résultat | Response |
public AddHeaders ( string>.IDictionary |
||
headers | string>.IDictionary | |
Résultat | void |
public AddHeaders ( IDictionary |
||
headers | IDictionary |
|
Résultat | void |
public Redirect ( int statusCode, string location ) : Response | ||
statusCode | int | |
location | string | |
Résultat | Response |
public Redirect ( string location ) : Response | ||
location | string | |
Résultat | Response |
public Response ( IResponse response ) : System | ||
response | IResponse | |
Résultat | System |
public Response ( int statusCode, string>.IDictionary |
||
statusCode | int | |
headers | string>.IDictionary | |
Résultat | System |
public Response ( int statusCode, IDictionary |
||
statusCode | int | |
headers | IDictionary |
|
Résultat | System |
public Response ( int statusCode, string bodyText, string>.IDictionary |
||
statusCode | int | |
bodyText | string | |
headers | string>.IDictionary | |
Résultat | System |
public Response ( int statusCode, string bodyText, IDictionary |
||
statusCode | int | |
bodyText | string | |
headers | IDictionary |
|
Résultat | System |
public Response ( string bodyText ) : System | ||
bodyText | string | |
Résultat | System |
public Response ( string bodyText, string>.IDictionary |
||
bodyText | string | |
headers | string>.IDictionary | |
Résultat | System |
public Response ( string bodyText, IDictionary |
||
bodyText | string | |
headers | IDictionary |
|
Résultat | System |
public Response ( string bodyText, int statusCode ) : System | ||
bodyText | string | |
statusCode | int | |
Résultat | System |
public Response ( string bodyText, string status ) : System | ||
bodyText | string | |
status | string | |
Résultat | System |
public SetHeader ( string key, IEnumerable |
||
key | string | |
value | IEnumerable |
|
Résultat | Response |
public SetHeader ( string key, string value ) : Response | ||
key | string | |
value | string | |
Résultat | Response |
public SetStatus ( int statusCode ) : Response | ||
statusCode | int | |
Résultat | Response |
public SetStatus ( string status ) : Response | ||
status | string | |
Résultat | Response |
public Write ( string writeToBody ) : Response | ||
writeToBody | string | |
Résultat | Response |