Module notifier_httpc

Thin wrapper around httpc for outbound HTTP/1.1 POSTs (FCM and Google OAuth).

Description

Thin wrapper around httpc for outbound HTTP/1.1 POSTs (FCM and Google OAuth).

Also a mocking seam: httpc is a sticky OTP module, so tests mock this module instead.

Function Index

post/4

Function Details

post/4

post(Url::string(), Headers::[{string(), string()}], ContentType::string(), Body::iodata()) -> {ok, {Status::non_neg_integer(), Headers::list(), Body::binary()}} | {error, term()}


Generated by EDoc