| IResponder Interface |
Namespace: VirtualRadar.Interface.WebServer
The IResponder type exposes the following members.
| Name | Description | |
|---|---|---|
| AddCorsHeaders |
Adds CORS headers to a successful response.
| |
| Forbidden |
Returns a response indicating that the request is not authorised.
| |
| SendAudio |
Sends the audio back to the browser. The format of the audio is inferred from the MIME type.
| |
| SendBinary |
Sends the bytes back to the browser.
| |
| SendImage |
Sends a copy of the image in the correct format back to the browser.
| |
| SendJson |
Formats the object as a JSON object and sends it via the response to the browser.
| |
| SendText(IRequest, IResponse, String, Encoding, String) |
Configures the response object to send text back to the browser.
| |
| SendText(IRequest, IResponse, String, Encoding, String, Int32) |
Configures the response object to send text back to the browser.
|