LOM2M  0.8.0
Static Public Member Functions | List of all members
HTTPBinding Class Reference

#include <httpBinding.h>

Static Public Member Functions

static void sendRequest (RequestPrimitive *requestPrimitive, ResponsePrimitive *responsePrimitive)
 
static int initRequestPrimitive (RequestPrimitive *requestPrimitive, const String &uri)
 
static void sendResponse (const ResponsePrimitive &responsePrimitive)
 
static void serveOM2M (const String &uri)
 
static ResponseStatusCode getRSCFromHTTP (int httpResponseCode)
 

Member Function Documentation

◆ getRSCFromHTTP()

static ResponseStatusCode HTTPBinding::getRSCFromHTTP ( int  httpResponseCode)
inlinestatic

◆ initRequestPrimitive()

int HTTPBinding::initRequestPrimitive ( RequestPrimitive req,
const String &  uri 
)
static

Initialize a Request Primitive (oneM2M) based on HTTP

Parameters
req- the request primitive to init
uri- the target URI

◆ sendRequest()

void HTTPBinding::sendRequest ( RequestPrimitive requestPrimitive,
ResponsePrimitive responsePrimitive 
)
static

◆ sendResponse()

void HTTPBinding::sendResponse ( const ResponsePrimitive responsePrimitive)
static

◆ serveOM2M()

void HTTPBinding::serveOM2M ( const String &  uri)
static

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