Send a response.

Namespace:  HttpServer
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void Respond(
	string httpVersion,
	HttpStatusCode statusCode,
	string reason
)
Visual Basic (Declaration)
Public Sub Respond ( _
	httpVersion As String, _
	statusCode As HttpStatusCode, _
	reason As String _
)
Visual C++
public:
virtual void Respond(
	String^ httpVersion, 
	HttpStatusCode statusCode, 
	String^ reason
) sealed

Parameters

httpVersion
Type: System..::.String
Either HTTP10 or HTTP11
statusCode
Type: System.Net..::.HttpStatusCode
HTTP status code
reason
Type: System..::.String
reason for the status code.

Implements

IHttpClientContext..::.Respond(String, HttpStatusCode, String)

See Also