class

Herbal::Server

Inherits Reference / Object

Constructors

new(wrapped : ::Socket::Server, dnsResolver : Durian::Resolver, option : Herbal::Option | Nil = nil)
Source
new(host : String, port : Int32, dns_resolver : Durian::Resolver, option : Herbal::Option | Nil = nil)
Source

Instance methods

accept?
Source
authentication
Source
authentication=(value : Authentication)
Source
client_timeout
Source
client_timeout=(value : TimeOut)
Source
dnsResolver
Source
local_address
Source
on_auth
Source
on_auth=(value : Proc(String, String | Nil, Herbal::Verify))
Source
option
Source
process(socket : Socket, sync_resolution : Bool = false, skip_establish : Bool = false) : Socket | Nil
Source
process!(socket : Socket, sync_resolution : Bool = false, skip_establish : Bool = false) : Socket
Source
remote_address
Source
remote_timeout
Source
remote_timeout=(value : TimeOut)
Source
upgrade(socket : Socket, sync_resolution : Bool = false, skip_establish : Bool = false) : Context | Nil
Source
upgrade!(socket : Socket, sync_resolution : Bool = false, skip_establish : Bool = false) : Context
Source
wrapped
Source