Module cloudi_service_http_client

CloudI HTTP Client Service

.

Copyright © 2014 Michael Truog

Version: 1.3.3 Sep 30 2014 14:20:10 ------------------------------------------------------------------------

Behaviours: cloudi_service.

Authors: Michael Truog (mjtruog [at] gmail (dot) com).

Description

CloudI HTTP Client Service

Data Types

dispatcher()

dispatcher() = cloudi:context() | cloudi_service:dispatcher()

headers()

headers() = [{binary(), binary()}]

Function Index

cloudi_service_handle_info/3
cloudi_service_handle_request/11
cloudi_service_init/3
cloudi_service_terminate/2
delete/4

A HTTP DELETE request.

.
delete/5

A HTTP DELETE request with a timeout.

.
get/4

A HTTP GET request.

.
get/5

A HTTP GET request with a timeout.

.
head/4

A HTTP HEAD request.

.
head/5

A HTTP HEAD request with a timeout.

.
options/4

A HTTP OPTIONS request.

.
options/5

A HTTP OPTIONS request with a timeout.

.
post/4

A HTTP POST request.

.
post/5

A HTTP POST request with a timeout.

.
put/4

A HTTP PUT request.

.
put/5

A HTTP PUT request with a timeout.

.
trace/4

A HTTP TRACE request.

.
trace/5

A HTTP TRACE request with a timeout.

.

Function Details

cloudi_service_handle_info/3

cloudi_service_handle_info(Request, State, Dispatcher) -> any()

cloudi_service_handle_request/11

cloudi_service_handle_request(Type, Name, Pattern, RequestInfo, Request, Timeout, Priority, TransId, Pid, State, Dispatcher) -> any()

cloudi_service_init/3

cloudi_service_init(Args, Prefix, Dispatcher) -> any()

cloudi_service_terminate/2

cloudi_service_terminate(Reason, State) -> any()

delete/4

delete(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary()) -> {ok, headers(), binary()} | {error, any()}

A HTTP DELETE request.

delete/5

delete(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, headers(), binary()} | {error, any()}

A HTTP DELETE request with a timeout.

get/4

get(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary()) -> {ok, headers(), binary()} | {error, any()}

A HTTP GET request.

get/5

get(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, headers(), binary()} | {error, any()}

A HTTP GET request with a timeout.

head/4

head(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary()) -> {ok, headers(), binary()} | {error, any()}

A HTTP HEAD request.

head/5

head(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, headers(), binary()} | {error, any()}

A HTTP HEAD request with a timeout.

options/4

options(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary()) -> {ok, headers(), binary()} | {error, any()}

A HTTP OPTIONS request.

options/5

options(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, headers(), binary()} | {error, any()}

A HTTP OPTIONS request with a timeout.

post/4

post(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary()) -> {ok, headers(), binary()} | {error, any()}

A HTTP POST request.

post/5

post(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, headers(), binary()} | {error, any()}

A HTTP POST request with a timeout.

put/4

put(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary()) -> {ok, headers(), binary()} | {error, any()}

A HTTP PUT request.

put/5

put(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, headers(), binary()} | {error, any()}

A HTTP PUT request with a timeout.

trace/4

trace(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary()) -> {ok, headers(), binary()} | {error, any()}

A HTTP TRACE request.

trace/5

trace(Dispatcher::dispatcher(), Prefix::cloudi_service:service_name(), RequestInfo::headers(), Request::binary(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, headers(), binary()} | {error, any()}

A HTTP TRACE request with a timeout.


Generated by EDoc, Sep 30 2014, 14:20:10.