glitr/utils

Functions

pub fn to_request(
  route: Route(a, b, c, d),
  path: a,
  query: b,
  body: c,
) -> Request(String)

Converts a Route to a HTTP request by providing the path, query and request body data.
This function is actually not used in the library, it stays there in case one needs it.

Search Document