class Truemail::Client::Http

Defined in:

truemail/client/http.cr

Constant Summary

MIME_TYPE = "application/json"
USER_AGENT = "Truemail Crystal client"

Constructors

Instance Method Summary

Constructor Detail

def self.new(secure_connection : Bool, host : String, port : Int32, token : String) #

[View source]

Instance Method Detail

def host : String #

[View source]
def port : Int32 #

[View source]
def run(email) #

[View source]
def secure_connection : Bool #

[View source]
def token : String #

[View source]