# Class Protocols.HTTP.Server.Port

Inheritance graph

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)`