pojo/http/utils

Functions

pub fn body_decoder(
  raw: Dynamic,
) -> Result(BitArray, List(DecodeError))
pub fn body_to_json(body: BitArray) -> Json
pub fn headers_decoder(
  raw: Dynamic,
) -> Result(List(#(String, String)), List(DecodeError))
pub fn headers_to_json(headers: List(#(String, String))) -> Json
Search Document