1.3 KiB
1.3 KiB
id, title, layout, category, indent, permalink
| id | title | layout | category | indent | permalink |
|---|---|---|---|---|---|
| interfaces-relay-query-request | RelayQueryRequest | docs | Interfaces | true | docs/interfaces-relay-query-request.html |
RelayQueryRequest encapsulates a query that Relay needs to send to the server. They are made available to network layers via the sendQueries method.
Overview
Methods
Methods
getQueryString
getQueryString(): string
Gets a string representation of the GraphQL query.
getVariables
getVariables(): {[name: string]: mixed}
Gets the variables used by the query. These variables should be serialized and sent in the GraphQL request.
getID
getID(): string
Gets a unique identifier for this query. These identifiers are useful for assigning response payloads to their corresponding queries when sent in a single GraphQL request.
getDebugName
getDebugName(): string
Gets a string name used to refer to this request for printing debug output.