exsentry v0.2.1 ExSentry.Model.Payload

ExSentry.Model.Payload represents the entire request body of an HTTP POST request to Sentry.

Summary

Functions

Returns a JSON-compatible body for Sentry HTTP requests

Returns an X-Sentry-Auth header value based on the given ExSentry version, key, and secret (required) and unix timestamp (optional, defaults to now)

Functions

from_opts(opts \\ [])

Specs

from_opts([{:atom, any}]) :: map

Returns a JSON-compatible body for Sentry HTTP requests.

get_auth_header_value(args)

Specs

get_auth_header_value(map) :: String.t

Returns an X-Sentry-Auth header value based on the given ExSentry version, key, and secret (required) and unix timestamp (optional, defaults to now).