class Gemini::Server

Defined in:

gemini/server.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(handlers : Array(Gemini::Server::Handler), &handler : Gemini::Server::Handler::HandlerProc) : self #

[View source]
def self.new(&handler : Gemini::Server::Handler::HandlerProc) : self #

[View source]
def self.new(handlers : Array(Gemini::Server::Handler)) : self #

[View source]

[View source]

Class Method Detail

def self.build_middleware(handlers, last_handler : Context -> | Nil = nil) #

[View source]

Instance Method Detail

def certificate_chain : String | Nil #

[View source]
def certificate_chain=(certificate_chain : String | Nil) #

[View source]
def handle_connection(conn) #

[View source]
def listen(addr, port) #

[View source]
def private_key : String | Nil #

[View source]
def private_key=(private_key : String | Nil) #

[View source]
def start_underlying_servers(addr, port) #

[View source]