class Posh::Client

Defined in:

posh/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def logged_in : Bool #

[View source]
def login(username : String, password : String) #

[View source]
def request(method, route : String | URI, headers : HTTP::Headers | Nil = nil, *, body : HTTP::Client::BodyType | Nil = nil, form : String | Nil | IO | Nil | Hash | Nil = nil) #

[View source]