Interface SyncGraphQlTransport
public interface SyncGraphQlTransport
Contract for blocking execution of GraphQL requests over some transport.
- Since:
- 1.3.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(GraphQlRequest request) Execute a request with a single response such as a "query" or "mutation".
-
Method Details
-
execute
Execute a request with a single response such as a "query" or "mutation".- Parameters:
request
- the request to execute- Returns:
- the
GraphQlResponse
for the response. - Throws:
GraphQlTransportException
- in case of errors due to transport or other issues related to encoding and decoding the request and response.
-