Documentation
    Preparing search index...

    Module @rivetkit/engine-runner-protocol

    Enumerations

    StopCode

    Type Aliases

    ActorConfig
    ActorIntent
    ActorIntentSleep
    ActorIntentStop
    ActorName
    ActorState
    ActorStateRunning
    ActorStateStopped
    Command
    CommandStartActor
    CommandStopActor
    CommandWrapper
    Event
    EventActorIntent
    EventActorSetAlarm
    EventActorStateUpdate
    EventWrapper
    i64
    Id
    Json
    KvDeleteRequest
    KvDeleteResponse
    KvDropRequest
    KvDropResponse
    KvErrorResponse
    KvGetRequest
    KvGetResponse
    KvKey
    KvListAllQuery
    KvListPrefixQuery
    KvListQuery
    KvListRangeQuery
    KvListRequest
    KvListResponse
    KvMetadata
    KvPutRequest
    KvPutResponse
    KvRequestData
    KvResponseData
    KvValue
    MessageId
    ProtocolMetadata
    RequestId
    ToClient
    ToClientAckEvents
    ToClientClose
    ToClientCommands
    ToClientInit
    ToClientKvResponse
    ToClientRequestAbort
    ToClientRequestChunk
    ToClientRequestStart
    ToClientTunnelMessage
    ToClientTunnelMessageKind
    ToClientWebSocketClose
    ToClientWebSocketMessage
    ToClientWebSocketOpen
    ToGateway
    ToServer
    ToServerAckCommands
    ToServerEvents
    ToServerInit
    ToServerKvRequest
    ToServerlessServer
    ToServerlessServerInit
    ToServerPing
    ToServerResponseAbort
    ToServerResponseChunk
    ToServerResponseStart
    ToServerStopping
    ToServerTunnelMessage
    ToServerTunnelMessageKind
    ToServerWebSocketClose
    ToServerWebSocketMessage
    ToServerWebSocketMessageAck
    ToServerWebSocketOpen
    TunnelAck
    u16
    u32
    u64

    Functions

    decodeToClient
    decodeToGateway
    decodeToServer
    decodeToServerlessServer
    encodeToClient
    encodeToGateway
    encodeToServer
    encodeToServerlessServer
    readActorConfig
    readActorIntent
    readActorName
    readActorState
    readActorStateStopped
    readCommand
    readCommandStartActor
    readCommandStopActor
    readCommandWrapper
    readEvent
    readEventActorIntent
    readEventActorSetAlarm
    readEventActorStateUpdate
    readEventWrapper
    readId
    readJson
    readKvDeleteRequest
    readKvErrorResponse
    readKvGetRequest
    readKvGetResponse
    readKvKey
    readKvListPrefixQuery
    readKvListQuery
    readKvListRangeQuery
    readKvListRequest
    readKvListResponse
    readKvMetadata
    readKvPutRequest
    readKvRequestData
    readKvResponseData
    readKvValue
    readMessageId
    readProtocolMetadata
    readRequestId
    readStopCode
    readToClient
    readToClientAckEvents
    readToClientCommands
    readToClientInit
    readToClientKvResponse
    readToClientRequestChunk
    readToClientRequestStart
    readToClientTunnelMessage
    readToClientTunnelMessageKind
    readToClientWebSocketClose
    readToClientWebSocketMessage
    readToClientWebSocketOpen
    readToGateway
    readToServer
    readToServerAckCommands
    readToServerEvents
    readToServerInit
    readToServerKvRequest
    readToServerlessServer
    readToServerlessServerInit
    readToServerPing
    readToServerResponseChunk
    readToServerResponseStart
    readToServerTunnelMessage
    readToServerTunnelMessageKind
    readToServerWebSocketClose
    readToServerWebSocketMessage
    readToServerWebSocketMessageAck
    readToServerWebSocketOpen
    writeActorConfig
    writeActorIntent
    writeActorName
    writeActorState
    writeActorStateStopped
    writeCommand
    writeCommandStartActor
    writeCommandStopActor
    writeCommandWrapper
    writeEvent
    writeEventActorIntent
    writeEventActorSetAlarm
    writeEventActorStateUpdate
    writeEventWrapper
    writeId
    writeJson
    writeKvDeleteRequest
    writeKvErrorResponse
    writeKvGetRequest
    writeKvGetResponse
    writeKvKey
    writeKvListPrefixQuery
    writeKvListQuery
    writeKvListRangeQuery
    writeKvListRequest
    writeKvListResponse
    writeKvMetadata
    writeKvPutRequest
    writeKvRequestData
    writeKvResponseData
    writeKvValue
    writeMessageId
    writeProtocolMetadata
    writeRequestId
    writeStopCode
    writeToClient
    writeToClientAckEvents
    writeToClientCommands
    writeToClientInit
    writeToClientKvResponse
    writeToClientRequestChunk
    writeToClientRequestStart
    writeToClientTunnelMessage
    writeToClientTunnelMessageKind
    writeToClientWebSocketClose
    writeToClientWebSocketMessage
    writeToClientWebSocketOpen
    writeToGateway
    writeToServer
    writeToServerAckCommands
    writeToServerEvents
    writeToServerInit
    writeToServerKvRequest
    writeToServerlessServer
    writeToServerlessServerInit
    writeToServerPing
    writeToServerResponseChunk
    writeToServerResponseStart
    writeToServerTunnelMessage
    writeToServerTunnelMessageKind
    writeToServerWebSocketClose
    writeToServerWebSocketMessage
    writeToServerWebSocketMessageAck
    writeToServerWebSocketOpen