options :: object
onrequest(method, path, headers, body, callback)
method :: string
path :: string
headers :: {string}
body :: string
callback(status, reason, headers, body)
status :: number
reason :: string
headers :: {string}
body :: string
onconnect(path, websocket)
path :: string
websocket :: antena.Websocket
receptor :: antena.Receptor
receptor1 :: antena.Receptor
receptors :: {antena.Receptor}
receptor2 :: antena.Receptor
receptor1 :: antena.Receptor
name :: string
receptor2 :: antena.Receptor
receptor :: antena.Receptor
handlers :: object
request(request, response)
request :: http.IncomingMessage
response :: http.ServerResponse
upgrade(request, socket, head)
request :: http.IncomingMessage
socket :: net.Socket
head :: Buffer
handlers(object)
message(message)
message :: *
terminate()
host :: string
emitter :: antena.Emitter
host :: string
emitter :: antena.Emitter
size :: number
emitter :: antena.Emitter
receptor :: antena.Receptor
emitter :: antena.Emitter
emitter :: antena.Emitter
method :: string
path :: string
headers :: {string}
body :: string
callback(error, status, reason, headers, body)
error :: Error
status :: number
reason :: string
headers :: {string}
body :: string
emitter :: antena.Emitter
method1 :: string
path1 :: string
headers1 :: {string}
body1 :: string
error2 :: Error
status2 :: number
reason2 :: string
headers2 :: {string}
body2 :: string
emitter :: antena.Emitter
path(string)
websocket :: antena.Websocket
emitter :: antena.Emitter
splitter :: [string]
emitters :: {antena.Emitter}
emitter1 :: antena.Emitter
name(string)
emitter2 :: antena.Emitter
websocket :: antena.Websocket
message :: string | ArrayBuffer | Blob | Buffer
websocket :: antena.Websocket
code(number)
reason(string)
message :: string | ArrayBuffer
code :: number
reason :: string