INNER CODE UNIT · C#

SendCompleted

graphql-dotnet/graphql-client · src/GraphQL.Client.Abstractions.Websocket/GraphQLWebSocketRequest.cs:50

    public void SendCompleted() => _tcs.SetResult(true);

    /// <summary>
    /// gets called when an exception occurs during the send operation
    /// </summary>
    /// <param name="e"></param>
    public void SendFailed(Exception e) => _tcs.SetException(e);

    /// <summary>
    /// gets called when the GraphQLHttpWebSocket has been disposed before the send operation for this request has started
    /// </summary>
    public void SendCanceled() => _tcs.SetCanceled();

    /// <inheritdoc />
    public override bool Equals(object obj) => Equals(obj as GraphQLWebSocketRequest);

    /// <inheritdoc />
    public bool Equals(GraphQLWebSocketRequest other)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…