new(request:Socket, clientAddress:{port:Int, host:Host}, server:BaseServer, ?directory:String)
@:value(true)cacheEnabled:Bool = true
@:value(false)corsEnabled:Bool = false
@:value(false)silent:Bool = false
@:value(false)disableNagleAlgorithm:Bool = false
Disable nagle algorithm for this socket, if true. Use only when wbufsize != 0, to avoid small packets.
true
@:value(null)timeout:Null<Float> = null
A timeout to apply to the request socket, if not null.
null