extends |
TransportInterface |
|---|
A transport that can observe a peer abandoning an in-flight request without saying so in a message, such as an SSE consumer closing its stream.
| Methods | ||
|---|---|---|
public
|
onCancel(Closure(RequestId): void $listener): SubscriptionInterface
|
# |
| Methods inherited from Nexus\Mcp\Core\Transport\TransportInterface |
|---|
start(), send(), close(), onMessage(), onError(), onDrain(), onClose() |