Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
An HttpRequestComposer that handles:
Link copied to clipboard
Link copied to clipboard
a HTTP header
Link copied to clipboard
Link copied to clipboard
class HttpRequest
a HTTP request to be sent
Link copied to clipboard
interface HttpRequestComposer
HttpRequestComposer transforms a GraphQL request in a HttpRequest. Typically, this involves building a Json with "query" and "variables" fields but implementations can decide to customize this behaviour. For an example:
Link copied to clipboard
class HttpResponse
an HTTP Response.
Link copied to clipboard
Link copied to clipboard
WebSocketPayloadComposer transforms a GraphQL request in a payload to be sent in a WebSocket message
Functions
Link copied to clipboard
Get the value for header name or null if this header doesn't exist or is defined multiple times