Stormancer::RpcService::ServerRpcOptions Struct Reference

Options for server-to-client RPCs. More...

#include <RpcService.h>

Public Attributes

MessageOriginFilter filter = MessageOriginFilter::Host
 Filter incoming RPCs based on sender type (Host and/or Peer). More...
 
bool ordered = false
 Whether messages sent via RpcRequestContext::sendValue should be ordered for this RPC. More...
 
DispatchMethod dispatchMethod = DispatchMethod::ActionDispatcher
 How to dispatch the RPC handler when an RPC call is received. More...
 

Detailed Description

Options for server-to-client RPCs.

Member Data Documentation

◆ dispatchMethod

DispatchMethod Stormancer::RpcService::ServerRpcOptions::dispatchMethod = DispatchMethod::ActionDispatcher

How to dispatch the RPC handler when an RPC call is received.

◆ filter

MessageOriginFilter Stormancer::RpcService::ServerRpcOptions::filter = MessageOriginFilter::Host

Filter incoming RPCs based on sender type (Host and/or Peer).

◆ ordered

bool Stormancer::RpcService::ServerRpcOptions::ordered = false

Whether messages sent via RpcRequestContext::sendValue should be ordered for this RPC.


The documentation for this struct was generated from the following file:
  • stormancer/stormancer-sources/include/public/stormancer/RPC/RpcService.h