Méthode | Description | |
---|---|---|
AddHeader ( string name, string value ) : void |
Adds the specified header and value to the HTTP headers for this response.
|
|
AppendHeader ( string name, string value ) : void |
Appends a value to the specified HTTP header to be sent with this response.
|
|
ClearOutputStream ( ) : void |
Clears the output stream.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
FlushResponse ( ) : void |
Flushes all data in the instance to the underlying HttpListenerResponse.
|
|
HttpResponse ( |
Initializes a new instance of the HttpResponse class.
|
|
Redirect ( string url ) : void |
Configures the response to redirect the client to the specified URL.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
Méthode | Description | |
---|---|---|
InitializeLifetimeService ( ) : object |
public AddHeader ( string name, string value ) : void | ||
name | string | The name of the HTTP header to set. |
value | string | The value for the name header. |
Résultat | void |
public AppendHeader ( string name, string value ) : void | ||
name | string | The name of the HTTP header to append value to. |
value | string | The value to append to the name header. |
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool |
/// |
Résultat | void |
public HttpResponse ( |
||
response | The response. | |
Résultat | System |
public Redirect ( string url ) : void | ||
url | string | The URL that the client should use to locate the requested resource. |
Résultat | void |