Table of Contents

Class HttpClientCompletionDetails

Namespace
ModelContextProtocol.Client
Assembly
ModelContextProtocol.Core.dll

Provides details about the completion of an HTTP-based MCP client session, including sessions using the legacy SSE transport or the Streamable HTTP transport.

public sealed class HttpClientCompletionDetails : ClientCompletionDetails
Inheritance
HttpClientCompletionDetails
Inherited Members

Properties

HttpStatusCode

Gets the HTTP status code that caused the session to close, or null if unavailable.

public HttpStatusCode? HttpStatusCode { get; set; }

Property Value

HttpStatusCode?