Module katt_callbacks_wfu

application/x-www-form-urlencoded callback functions.

Copyright © 2016- AUTHORS

Description

application/x-www-form-urlencoded callback functions.

Data Types

body()

body() = null | binary()

callbacks()

callbacks() = [{atom(), function()}]

headers()

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

param_name()

param_name() = string() | atom()

param_value()

param_value() = atom() | integer() | float() | string() | binary()

params()

params() = [{param_name(), param_value()}]

Function Index

parse/5Parse the body of e.g.
parse_wfu/1
recall_body/4Recall all params inside application/x-www-form-urlencoded content.
validate_body/4
validate_type/7

Function Details

parse/5

parse(JustCheck::boolean(), Hdrs::headers(), Body::body(), Params::params(), Callbacks::callbacks()) -> any()

Parse the body of e.g. an HTTP response.

parse_wfu/1

parse_wfu(Bin) -> any()

recall_body/4

recall_body(JustCheck::boolean(), X2::any(), Params::params(), Callbacks::callbacks()) -> any()

Recall all params inside application/x-www-form-urlencoded content.

validate_body/4

validate_body(Justcheck, Katt_response, X3, Callbacks) -> any()

validate_type/7

validate_type(JustCheck, Type, ParentKey, Options, Actual, ItemsMode, Callbacks) -> any()


Generated by EDoc