Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
HTTP::Connection
Inherits
Struct
<
Value
<
Object
Constants
MAX_HEADERS_SIZE = 16384
Constructors
new
(io :
IO
)
Source
Instance methods
content
(headers :
HTTP::Headers
, mandatory = false) :
IO
|
Nil
Source
flush
Source
http2_upgrade
(protocol :
String
)
Source
io
Source
read_headers
(headers :
HTTP::Headers
) :
Bool
Source
read_request_line
Source
send_data
(string :
String
, chunked = false)
Source
send_data
(bytes :
Bytes
, chunked = false)
Source
send_headers
(headers :
HTTP::Headers
, message :
String
|
Nil
= nil)
Source
version
Source
version=
(version :
String
)
Source
version?
Source