Authly::Social::StdlibHttpClient
Inherits Authly::Social::HttpClient < Reference < Object
Constants
MAX_BODY_BYTES = 1048576
Constructors
new(connect_timeout : Time::Span = 10.seconds, read_timeout : Time::Span = 10.seconds)
SourceInstance methods
connect_timeout
Sourceconnect_timeout=(connect_timeout : Time::Span)
Sourceget(url : String, headers : HTTP::Headers = HTTP::Headers.new) : HttpResponse
Sourcepost_form(url : String, params : Hash(String, String), headers : HTTP::Headers = HTTP::Headers.new) : HttpResponse
Sourceread_timeout
Sourceread_timeout=(read_timeout : Time::Span)
Source