API Reference > imodeljs-common > RpcInterface > RpcRequestContext RpcRequestContext Interface Interface to enable passing application-specific context with each RPC request. Properties Name Type Description deserialize (request: SerializedRpcRequest) => Promise<ClientRequestContext> Used at backend to deserialize client specified context getId (request: RpcRequest) => string Used to get the id of the request at the frontend serialize (request: RpcRequest) => Promise<SerializedClientRequestContext> Used at frontend to serialize client specified context Defined in core/common/src/rpc/core/RpcRequestContext.ts Line 15 Last Updated: 13 June, 2024