MsmpClient
Properties
Functions
Link copied to clipboard
Awaits the client to be closed. Not actually connection to be closed.
Link copied to clipboard
Awaits the first event of type T.
Link copied to clipboard
Awaits the first client state of type T.
Link copied to clipboard
Sends a request to the server and awaits a response.
Sends a request with parameters using automatic serialization.
suspend fun <R> call(method: String, responseSerializer: KSerializer<R>, timeout: Long = config.requestTimeout): R
inline suspend fun <P, R> call(method: String, params: P, paramSerializer: KSerializer<P>, responseSerializer: KSerializer<R>, timeout: Long = config.requestTimeout): R
Sends a request with parameters using a manual serializer.