Pike v8.0 release 1738

Class Protocols.HTTP.Server.Port

Inheritance graph
Protocols.HTTP.Server.Port Protocols.WebSocket.Port
Description

The simplest server possible. Binds a port and calls a callback with request_program objects.


Variable request_program

object|function(:void)|program Protocols.HTTP.Server.Port.request_program


Method create

Protocols.HTTP.Server.Port Protocols.HTTP.Server.Port(function(.Request:void) callback)
Protocols.HTTP.Server.Port Protocols.HTTP.Server.Port(function(.Request:void) callback, int portno, void|string interface)