HttpListenerResponseRedirect Method |
Configures the response to redirect the client's request to
the specified url.
Namespace:
Sfs2X.WebSocketSharp.Net
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public void Redirect(
string url
)
Parameters
- url
- Type: SystemString
A String that represents the URL to redirect the client's request to.
Exceptions Exception | Condition |
---|
ArgumentNullException | url is .
|
ArgumentException | url isn't an absolute URL.
|
InvalidOperationException |
The response has already been sent.
|
ObjectDisposedException |
This object is closed.
|
Remarks See Also