Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion apis/AppGateway/IAppGateway.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ namespace WPEFramework
uint32_t requestId; /* @text requestId */ /* @brief Unique identifier for the request. */
uint32_t connectionId; /* @text connectionId */ /* @brief Unique identifier for the execution/session context. */
string appId; /* @text appId */ /* @brief Application identifier (Firebolt appId). */
string version; /* @text version */ /* @brief Version of the gateway request can be semantic version */
};

// @json 1.0.0 @text:keep
Expand Down Expand Up @@ -140,13 +141,24 @@ namespace WPEFramework
// @text getGatewayConnectionContext
// @brief Gets any connection context parameter like headers, url params
// @param connectionId: Connection Id
// @param contextKey: Connection Id
// @param contextKey: Context key
// @param contextValue: response value
// @returns Core::hresult
virtual Core::hresult GetGatewayConnectionContext(const uint32_t connectionId ,
const string& contextKey ,
string& contextValue /* @out */) = 0;

// @json:omit
// @text recordGatewayConnectionContext
// @brief Allows other Firebolt based plugins to update connection context back to Gateway Socket Connection
// @param connectionId: Connection Id
// @param contextKey: Context Key
// @param contextValue: Context Value
// @returns Core::hresult
virtual Core::hresult RecordGatewayConnectionContext(const uint32_t connectionId ,
const string& contextKey ,
const string& contextValue) = 0;


struct EXTERNAL INotification : virtual public Core::IUnknown
{
Expand Down
1 change: 1 addition & 0 deletions apis/AppNotifications/IAppNotifications.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ namespace WPEFramework
uint32_t connectionId; /* @text connectionId */ /* @brief Unique identifier for the execution/session context. */
string appId; /* @text appId */ /* @brief Application identifier (Firebolt appId). */
string origin; /* @text origin */ /* @brief Origin of the request (e.g., org.rdk.AppGateway). */
string version; /* @text version */ /* @brief Version of the notification context can be semantic version */
};

// @json:omit
Expand Down
Loading