module HTTP

Overview

The HTTP module contains HTTP::Client, HTTP::Server and HTTP::WebSocket implementations.

Defined in:

http/client.cr
http/common.cr
http/params.cr
http/content.cr
http/cookie.cr
http.cr

Class Method Summary

Class Method Detail

def self.content_length(headers) #

:nodoc


[View source]
def self.default_status_message_for(status_code : Int) : String #

Returns the default status message of the given HTTP status code.


[View source]
def self.parse_time(time_str : String) : Time? #

[View source]
def self.rfc1123_date(time : Time) : String #

[View source]
def self.serialize_chunked_body(io, body) #

[View source]
def self.serialize_headers(io, headers) #

[View source]
def self.serialize_headers_and_string_body(io, headers, body) #

[View source]