Class ServerHostApi
java.lang.Object
com.github.copilot.generated.rpc.ServerHostApi
API methods for the
host namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondispose(HostDisposeParams params) Stops a connection-owned listener and joins its teardown.Publishes a resident session attached to the listener's owning connection.start(HostStartParams params) Starts a supervised AHP host with at least one explicitly selected transport.
-
Method Details
-
publishSession
@CopilotExperimental public CompletableFuture<HostPublishSessionResult> publishSession(HostPublishSessionParams params) Publishes a resident session attached to the listener's owning connection.- Since:
- 1.0.0
-
start
Starts a supervised AHP host with at least one explicitly selected transport.- Since:
- 1.0.0
-
dispose
Stops a connection-owned listener and joins its teardown.- Since:
- 1.0.0
-