pub fn decode(req: Request(a), decoder: fn(Dynamic) ->
Result(a, List(DecodeError))) -> Request(a)
pub fn new() -> Request(a)
pub fn send(req: Request(a), send: fn(
gleam/http/request.Request(String),
) -> Result(Response(String), b)) -> Result(
Option(a),
GraphQLError,
)
pub fn set_header(req: Request(a), key: String, value: String) -> Request(
a,
)
pub fn set_host(req: Request(a), host: String) -> Request(a)
pub fn set_path(req: Request(a), path: String) -> Request(a)
pub fn set_query(req: Request(a), query: String) -> Request(a)
pub fn set_variable(req: Request(a), key: String, value: Json) -> Request(
a,
)