class Skeleton::Server

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def add(handler : HTTP::Handler) #

def address : Socket::IPAddress #

def addresses : Array(Socket::Address) #

def bind(socket : Socket::Server) : self #

def bind(uri : URI) : self #

def bind(uri : String) : self #

def bind_tcp(host : String, port : Int32, reuse_port : Bool = false) #

def bind_tcp(port : Int32, reuse_port : Bool = false) : self #

def bind_tcp(ip_address : Socket::IPAddress, reuse_port : Bool = false) : self #

def bind_tls(host : String, context : OpenSSL::SSL::Context::Server) #

def bind_tls(address : Socket::IPAddress, context : OpenSSL::SSL::Context::Server) : self #

def bind_tls(host : String, port : Int32, context : OpenSSL::SSL::Context::Server, reuse_port : Bool = false) : self #

def bind_unix(path : String) : self #

def bind_unix(uaddress : Socket::UNIXAddress) : self #

def bind_unused_port(host : String = Socket::IPAddress::LOOPBACK, reuse_port : Bool = false) : self #

def close #

def closed? #

def create #

def each_address(&block : Socket::Address -> ) #

def handlers : Array(HTTP::Handler) #

def listen(port : Int32, reuse_port : Bool = false) #

def listen(host : String, port : Int32, reuse_port : Bool = false) #

def listen #

def listening? #

def max_headers_size #

def max_headers_size=(size : Int32) #

def max_request_line_size #

def max_request_line_size=(size : Int32) #

def server : HTTP::Server #