Свойство | Type | Description | |
---|---|---|---|
cached | bool |
Méthode | Description | |
---|---|---|
Abort ( ) : IServerResponse |
Aborts the request
|
|
AddCookie ( |
Adds a Cookie
|
|
AddHeader ( string name, string value ) : IServerResponse |
Adds a Header
|
|
Close ( ) : void |
Closes the Response
|
|
Equals ( object obj ) : bool |
Determines whether the specified System.Object is equal to this instance.
|
|
GetHashCode ( ) : int |
Returns a hash code for this instance.
|
|
Redirect ( string url ) : IServerResponse |
Redirects the specified URL.
|
|
ServerResponse ( |
Initializes a new instance of the ServerResponse class.
|
|
ServerResponse ( IServerResponse res ) : System |
Initializes a new instance of the ServerResponse class.
|
Méthode | Description | |
---|---|---|
Dispose ( ) : void |
public AddCookie ( |
||
cookie | The cookie to add | |
Résultat | IServerResponse |
public AddHeader ( string name, string value ) : IServerResponse | ||
name | string | Name of the header |
value | string | Value for the header |
Résultat | IServerResponse |
public Equals ( object obj ) : bool | ||
obj | object | The |
Résultat | bool |
public Redirect ( string url ) : IServerResponse | ||
url | string | The URL. |
Résultat | IServerResponse |
public ServerResponse ( |
||
res | The res. | |
Résultat | System |
public ServerResponse ( IServerResponse res ) : System | ||
res | IServerResponse | The res. |
Résultat | System |