Click or drag to resize
IResponder Methods

The IResponder type exposes the following members.

Methods
  NameDescription
Public methodAddCorsHeaders
Adds CORS headers to a successful response.
Public methodForbidden
Returns a response indicating that the request is not authorised.
Public methodSendAudio
Sends the audio back to the browser. The format of the audio is inferred from the MIME type.
Public methodSendBinary
Sends the bytes back to the browser.
Public methodSendImage
Sends a copy of the image in the correct format back to the browser.
Public methodSendJson
Formats the object as a JSON object and sends it via the response to the browser.
Public methodSendText(IRequest, IResponse, String, Encoding, String)
Configures the response object to send text back to the browser.
Public methodSendText(IRequest, IResponse, String, Encoding, String, Int32)
Configures the response object to send text back to the browser.
Top
See Also