ImagingTools Core SDK
Public Types | Public Member Functions | List of all members
imtgql::IGqlRequestabstract

#include <IGqlRequest.h>

Inherits iser::IObject.

Inherited by imtgql::CGqlRequest [virtual].

Public Types

enum  RequestType { RT_QUERY , RT_MUTATION , RT_SUBSCRIPTION }
 

Public Member Functions

virtual QByteArray GetProtocolVersion () const =0
 

Detailed Description

Common interface for a GraphQL request.

Definition at line 20 of file IGqlRequest.h.

Member Enumeration Documentation

◆ RequestType

Enumerator
RT_QUERY 

Query request.

RT_MUTATION 

Mutation request.

RT_SUBSCRIPTION 

Subscription request.

Definition at line 23 of file IGqlRequest.h.

Member Function Documentation

◆ GetProtocolVersion()

virtual QByteArray imtgql::IGqlRequest::GetProtocolVersion ( ) const
pure virtual

The version of the exchange protocol used to determine the message version. X-Protocol-Version HTTP header

See also
imtbase::s_protocolVersionHeaderId