Diffusion C API
6.2.9
|
Functions | |
void | send_request (SESSION_T *session, SEND_REQUEST_PARAMS_T params) |
Send a request to a path. More... | |
DIFFUSION_REQUEST_STREAM_T * | set_request_stream (SESSION_T *session, const char *path, DIFFUSION_DATATYPE request_datatype, DIFFUSION_DATATYPE response_datatype, const DIFFUSION_REQUEST_STREAM_T *request_stream) |
Set a request stream to handle requests to a specified path. More... | |
DIFFUSION_REQUEST_STREAM_T * | remove_request_stream (SESSION_T *session, const char *request_path) |
Remove a request stream bound to a specified path. More... | |
DIFFUSION_REQUEST_STREAM_T* remove_request_stream | ( | SESSION_T * | session, |
const char * | request_path | ||
) |
Remove a request stream bound to a specified path.
session | The session handle. If NULL, this function returns immediately. |
request_path | The path at which to remove the request stream. If NULL, this function returns immediately. |
void send_request | ( | SESSION_T * | session, |
SEND_REQUEST_PARAMS_T | params | ||
) |
Send a request to a path.
session | The session handle. If NULL, this function returns immediately. |
params | Parameters defining the request to be sent. |
DIFFUSION_REQUEST_STREAM_T* set_request_stream | ( | SESSION_T * | session, |
const char * | path, | ||
DIFFUSION_DATATYPE | request_datatype, | ||
DIFFUSION_DATATYPE | response_datatype, | ||
const DIFFUSION_REQUEST_STREAM_T * | request_stream | ||
) |
Set a request stream to handle requests to a specified path.
session | The session handle. If NULL, this function returns immediately. |
path | Path to receive requests on. |
request_datatype | The request datatype. |
response_datatype | The response datatype. |
request_stream | Request stream to handle requests to this path |