HTTPs_InstanceStart
Start a specific HTTP server instance which has been previously initialized:
- Validate return error code.
- Initialize instance listen socket.
- Create and start HTTP server instance task.
Files
http-s.h
/http-s.c
Prototype
void HTTPs_InstanceStart (HTTPs_INSTANCE *p_instance, HTTPs_ERR *p_err);
Arguments
p_instance
Pointer to HTTP server instance structure.
p_err
Pointer to variable that will receive the return error code.
Returned Values
None.
p_err
argument should be inspected to determine whether or not HTTPs instance successfully started. If HTTPs instance did not successfully start, refer to function definition header in http-s.c
for possible return error codes to locate where the HTTPs instance start failed.
Required Configuration
None.
Notes / Warnings
Before starting an instance with HTTPs_InstanceStart()
function, the instance must has been initialized with HTTPs_InstanceInit
function.
Example Usage
See section Sample Application for an example.