struct HTTP1::Connection
- HTTP1::Connection
- Struct
- Value
- Object
Defined in:
duo/server/http1.crConstant Summary
-
MAX_HEADERS_SIZE =
16384
Constructors
Instance Method Summary
- #content(headers : HTTP::Headers, mandatory = false) : IO | Nil
- #flush
- #io : IO
- #read_headers(headers : HTTP::Headers) : Bool
- #read_request_line
- #send_data(string : String, chunked = false)
- #send_data(bytes : Bytes, chunked = false)
- #send_headers(headers : HTTP::Headers)
- #upgrade(protocol : String)
- #version : String
- #version? : String | Nil