Copyright © 2012- Klarna AB, AUTHORS
http_header() = {string(), string()}
response() = #katt_response{status = integer(), headers = [http_header()], body = binary() | null, parsed_body = any()} | {error, any()}
get_body/1 | |
get_headers/1 | |
get_status/1 | |
set_body/2 | |
set_headers/2 | |
set_status/2 |
get_body(Katt_response::response()) -> binary() | null
get_headers(Katt_response::response()) -> [http_header()]
get_status(Katt_response::response()) -> integer()
set_body(Body::binary() | null, Katt_response::response()) -> response()
set_headers(Hdrs::[http_header()], Katt_response::response()) -> response()
set_status(Status::integer(), Katt_response::response()) -> response()
Generated by EDoc