subscriptionClient
fun subscriptionClient(host: String = DefaultGraphQLSettings.DEFAULT_HOST, port: Int = DefaultGraphQLSettings.DEFAULT_PORT): GraphQLClient
Returns a GraphQLClient capable of executing queries, mutations and subscriptions.
Parameters
host
the host of the GraphQL server
port
the port of the GraphQL server