HttpTransportConfig class

Constructors

HttpTransportConfig({required int port, InternetAddress? host, HttpTransportMode mode = HttpTransportMode.streamable, String? authToken, AuthValidator? authValidator, String endpoint = '/mcp', String? resourceMetadataUrl, Map<String, HttpRequestCallback>? extraHandlers})

Properties

authToken String?
final
authValidator → AuthValidator?
final
endpoint String
final
extraHandlers Map<String, HttpRequestCallback>?
final
hashCode int
The hash code for this object.
no setterinherited
host InternetAddress
latefinal
mode HttpTransportMode
final
port int
final
resourceMetadataUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited