Click or drag to resize
IResponderSendText Method (IRequest, IResponse, String, Encoding, String)
Configures the response object to send text back to the browser.

Namespace: VirtualRadar.Interface.WebServer
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void SendText(
	IRequest request,
	IResponse response,
	string text,
	Encoding encoding,
	string mimeType
)

Parameters

request
Type: VirtualRadar.Interface.WebServerIRequest
The request object - must be supplied.
response
Type: VirtualRadar.Interface.WebServerIResponse
The response object to fill in - must be supplied.
text
Type: SystemString
The text to send back - defaults to an empty string.
encoding
Type: System.TextEncoding
The encoding to use when sending the text - defaults to UTF8.
mimeType
Type: SystemString
The MimeType to use when sending the text - defaults to MimeType.Text.
See Also