midas/sdk/utils

Functions

pub fn append_path(
  request: Request(a),
  path: String,
) -> Request(a)
pub fn decode_bits(
  data: BitArray,
  decoder: Decoder(a),
) -> Result(a, DecodeError)
pub fn json_to_bits(json: Json) -> BitArray
pub fn set_body(
  request: Request(a),
  mime: String,
  content: b,
) -> Request(b)
pub fn set_method(
  request: Request(a),
  method: Method,
) -> Request(a)
pub fn set_query(
  request: Request(a),
  query: List(#(String, Option(String))),
) -> Request(a)
Search Document