Table of Contents

Class McpResponseReceivedEventArgs

Namespace
LMKit.Mcp.Client
Assembly
LM-Kit.NET.dll

Provides data for the Received event, which occurs after an HTTP response (or SSE payload) is received from the server.

public sealed class McpResponseReceivedEventArgs : EventArgs
Inheritance
McpResponseReceivedEventArgs
Inherited Members

Constructors

McpResponseReceivedEventArgs(string, int, string)

Initializes a new instance of the McpResponseReceivedEventArgs class.

Properties

BodySnippet

Gets a truncated snippet of the response body, limited to a safe length suitable for logging.

Method

Gets the JSON-RPC method name associated with the received response.

StatusCode

Gets the HTTP status code returned by the server.