Safeheron-SGX-Native-Development-Framework v1.2.0
Loading...
Searching...
No Matches
ssgx::http_u Namespace Reference

This module is the untrusted part of http. Its purpose is to initialize the http_t module. It needs to be called after creating the enclave and before calling the http_t function. More...

Classes

class  HttpCallbackManager
 Http module callback function registration and management. More...
 

Typedefs

using HttpOnMessageCallback
 Typedef for HTTP message callback.
 
using RegisterEidCallback = sgx_status_t (*)(sgx_enclave_id_t eid, sgx_enclave_id_t enclave_eid)
 Typedef for Enclave ID registration callback.
 

Detailed Description

This module is the untrusted part of http. Its purpose is to initialize the http_t module. It needs to be called after creating the enclave and before calling the http_t function.

Typedef Documentation

◆ HttpOnMessageCallback

Initial value:
sgx_status_t (*)(sgx_enclave_id_t eid, int* retval, const char* server_id,
const char* req_method, const char* req_path,
const char* req_params_json, const char* req_headers_json,
const uint8_t* req_body, size_t req_body_size,
char** resp_status_headers_json, uint8_t** resp_body,
size_t* resp_body_size)

Typedef for HTTP message callback.

◆ RegisterEidCallback

using ssgx::http_u::RegisterEidCallback = sgx_status_t (*)(sgx_enclave_id_t eid, sgx_enclave_id_t enclave_eid)

Typedef for Enclave ID registration callback.