Base

izumi.idealingua.runtime.rpc.http4s.ws.WsClientSession.Base
abstract class Base[F[_, _], SessionCtx](initialContext: SessionCtx, wsSessionsContext: Set[AnyContext[F, SessionCtx]], wsSessionStorage: WsSessionsStorage[F, SessionCtx], wsContextExtractor: WsContextExtractor[SessionCtx], logger: LogIO2[F])(implicit evidence$2: IO2[F], evidence$3: Temporal2[F], evidence$4: Primitives2[F]) extends WsClientSession[F, SessionCtx]

Attributes

Graph
Supertypes
trait WsClientSession[F, SessionCtx]
trait WsResponder[F]
class Object
trait Matchable
class Any
Known subtypes
class Dummy[F, SessionCtx]
class Queued[F, SessionCtx]

Members list

Value members

Abstract methods

protected def sendCloseMessage(): F[Throwable, Unit]
protected def sendMessage(message: RpcPacket): F[Throwable, Unit]

Concrete methods

override def finish(onFinish: SessionCtx => F[Throwable, Unit]): F[Throwable, Unit]

Attributes

Definition Classes
def requestAndAwaitResponse(method: IRTMethodId, data: Json, timeout: FiniteDuration): F[Throwable, Option[RawResponse]]
override def responseWith(id: RpcPacketId, response: RawResponse): F[Throwable, Unit]

Attributes

Definition Classes
override def responseWithData(id: RpcPacketId, data: Json): F[Throwable, Unit]

Attributes

Definition Classes
override def start(onStart: SessionCtx => F[Throwable, Unit]): F[Throwable, Unit]

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
override def updateRequestCtx(newContext: SessionCtx): F[Throwable, SessionCtx]

Attributes

Definition Classes

Concrete fields

protected val requestState: WsRequestState[F]
override val sessionId: WsSessionId