IResponderSendText Method (IRequest, IResponse, String, Encoding, String) |
Configures the response object to send text back to the browser.
Namespace: VirtualRadar.Interface.WebServerAssembly: 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
)
Sub SendText (
request As IRequest,
response As IResponse,
text As String,
encoding As Encoding,
mimeType As String
)
void SendText(
IRequest^ request,
IResponse^ response,
String^ text,
Encoding^ encoding,
String^ mimeType
)
abstract SendText :
request : IRequest *
response : IResponse *
text : string *
encoding : Encoding *
mimeType : string -> unit
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