HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file ws.RequestHandler by barry
expand copy to clipboardexpand
uses net.TCPSocket
uses net.TLSContext
uses data.String

data KeyVal {
	char key[]
	char val[]
	}

data ConfigData {
	KeyVal mimeTypes[]
	KeyVal subdomains[]
	String landingPages[]
	String staticServe[]
	}

interface RequestHandler {
	
	RequestHandler()
	
	void processStream(store TCPSocket client, store TLSContext tlsCtx, store ConfigData cfg)
	
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n ws.RequestHandler -m "reason for update" -u yourUsername
Version 2 by barry
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation