Stormancer::Scene::RouteOptions Struct Reference

Additional options for route registration. More...

#include <Scene.h>

Public Attributes

MessageOriginFilter filter = MessageOriginFilter::Host
 Filter incoming messages based on sender type. More...
 
std::unordered_map< std::string, std::string > metadata = std::unordered_map<std::string, std::string>()
 Route metadata, will be sent to the peer as part of the connection process. More...
 
DispatchMethod dispatchMethod = DispatchMethod::ActionDispatcher
 How to dispatch the message handler when a message is received on the route. More...
 

Detailed Description

Additional options for route registration.

Member Data Documentation

◆ dispatchMethod

DispatchMethod Stormancer::Scene::RouteOptions::dispatchMethod = DispatchMethod::ActionDispatcher

How to dispatch the message handler when a message is received on the route.

◆ filter

MessageOriginFilter Stormancer::Scene::RouteOptions::filter = MessageOriginFilter::Host

Filter incoming messages based on sender type.

◆ metadata

std::unordered_map<std::string, std::string> Stormancer::Scene::RouteOptions::metadata = std::unordered_map<std::string, std::string>()

Route metadata, will be sent to the peer as part of the connection process.


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