class Prax::Handler

Defined in:

prax/handler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : IO, tcp_socket : TCPSocket = client) #

[View source]

Instance Method Detail

def app #

[View source]
def client : TCPSocket | OpenSSL::SSL::Socket #

[View source]
def keepalive? #

[View source]
def reply(code, body = nil) #

[View source]
def reply(code, headers = nil, &) #

[View source]
def request : Parser::Request #

[View source]
def ssl? #

[View source]
def tcp_socket : TCPSocket #

[View source]
def views #

[View source]