OnClientDisconnected Method

HttpServer.dll

Can be overloaded to implement stuff when a client have been connected.

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

Syntax

C#
protected virtual void OnClientDisconnected(
	HttpClientContext client,
	SocketError error
)
Visual Basic (Declaration)
Protected Overridable Sub OnClientDisconnected ( _
	client As HttpClientContext, _
	error As SocketError _
)
Visual C++
protected:
virtual void OnClientDisconnected(
	HttpClientContext^ client, 
	SocketError error
)

Parameters

client
Type: HttpServer..::.HttpClientContext
client that disconnected
error
Type: System.Net.Sockets..::.SocketError
disconnect reason

Remarks

Default implementation does nothing.

See Also