File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ public class GraphQLHttpClientOptions
5858 public Action < ClientWebSocketOptions > ConfigureWebsocketOptions { get ; set ; } = options => { } ;
5959
6060 /// <summary>
61- /// The `ConnectionParams` object sent with the GQL_CONNECTION_INIT message on establishing a websocket connection.
61+ /// Sets the `ConnectionParams` object sent with the GQL_CONNECTION_INIT message on establishing a GraphQL websocket connection.
6262 /// See https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md#gql_connection_init.
6363 /// </summary>
64- public Func < object ? > SetWebSocketConnectionParams { get ; set ; } = ( ) => null ;
64+ public Func < object ? > SetWebSocketConnectionInitPayload { get ; set ; } = ( ) => null ;
6565 }
6666}
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ public IObservable<GraphQLResponse<TResponse>> CreateSubscriptionStream<TRespons
115115 {
116116 Id = startRequest . Id ,
117117 Type = GraphQLWebSocketMessageType . GQL_CONNECTION_INIT ,
118- Payload = Options . SetWebSocketConnectionParams ( )
118+ Payload = Options . SetWebSocketConnectionInitPayload ( )
119119 } ;
120120
121121 var observable = Observable . Create < GraphQLResponse < TResponse > > ( o =>
You can’t perform that action at this time.
0 commit comments