CppWAMP
C++11 client library for the WAMP protocol
wamp::Result Class Reference

Contains the remote procedure result options/payload within WAMP RESULT and YIELD messages. More...

#include <cppwamp/peerdata.hpp>

Inheritance diagram for wamp::Result:

Public Member Functions

 Result ()
 Default constructor.
 
 Result (std::initializer_list< Variant > list)
 Converting constructor taking a braced initializer list of positional arguments.
 
RequestId requestId () const
 Obtains the request ID associated with the call.
 
Progressive Call Results
ResultwithProgress (bool progressive=true)
 Lets the callee specify if the yielded result is progressive. More...
 
bool isProgressive () const
 Indicates if the result is progressive.
 

Detailed Description

Contains the remote procedure result options/payload within WAMP RESULT and YIELD messages.

Member Function Documentation

◆ withProgress()

Result & wamp::Result::withProgress ( bool  progressive = true)

Lets the callee specify if the yielded result is progressive.

This sets the YIELD.Options.progress|bool option.


The documentation for this class was generated from the following files: