TsgcWebSocketHTTPServer | HTTP Dispatch Files

When a client request a file, OnCommandGet event is fired, but you can use DocumentRoot property to dispatch automatically files.

 

Example: if you set DocumentRoot to c:/www/files. Every time a new file is requested, will search in this folder if file exists and if exists, will be dispatched automatically.