WebServer.ConnectedDelegate Delegate
wodWebServer.NET Help file

WebServer.ConnectedDelegate Delegate

Fires when new user connects to wodWebServer.NET.

public delegate void WebServer.ConnectedDelegate(
   object Sender,
   WebConnectedArgs Args
);

Parameters

Sender
The source of the event.
Args
Holds arguments for the event.

Remarks

Connected event is fired immediately when connection is established between new client and the wodWebServer.NET, but before he sent any requests to the server. At this point you can decide to reject user's connection. You can do so if, for example, his RemoteIP does not match list of addresses you plan to allow, or you are not ready to serve clients, etc..

Requirements

Namespace: WeOnlyDo.Server

Assembly: WeOnlyDo.Server.WebServer (in WeOnlyDo.Server.WebServer.dll)

See Also

WeOnlyDo.Server Namespace