gleamql
Types
pub type GraphQLError {
ErrorMessage(message: String)
UnexpectedStatus(status: Int)
UnrecognisedResponse(response: String)
UnknownError(inner: Dynamic)
}
Constructors
-
ErrorMessage(message: String)
-
UnexpectedStatus(status: Int)
-
UnrecognisedResponse(response: String)
-
UnknownError(inner: Dynamic)
Functions
pub fn set_header(req: Request, key: String, value: String) -> Request
pub fn set_variable(req: Request, key: String, value: Json) -> Request