Net::HTTPClient class of PicoRuby

Singleton methods

new

Net::HTTPClient.new(String host) -> void

Instance methods

get

instance.get(String path) -> (httpreturn | nil)

get_with_headers

instance.get_with_headers(String path, header_t headers) -> (httpreturn | nil)

post

instance.post(String path, header_t headers, String body) -> (httpreturn | nil)

put

instance.put(String path, header_t headers, String body) -> (httpreturn | nil)
Tags: class