ClientTransportState

States of a client transport within the protocol lifecycle

These states are generally aligned with the corresponding phases defined under the MCP Protocol Lifecycle.

Entries

Link copied to clipboard

The transport has just been created.

Link copied to clipboard

Indicates that the protocol is in the Initialization Phase.

Link copied to clipboard

Indicates that the initialization phase of the protocol lifecycle has failed.

Link copied to clipboard

Represents the operational phase of the protocol lifecycle.

Link copied to clipboard

Represents the shutting down phase of the protocol lifecycle.

Link copied to clipboard

Indicates that the shutdown phase of the protocol lifecycle has failed.

Link copied to clipboard

Indicates that the transport has fully stopped.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.