Session ========= --------------------------------------------------------------- Data Types: --------------------------------------------------------------- .. c:struct:: ymo_http_session Internal structure used to manage a yimmo session. .. code-block:: c :caption: Definition struct ymo_http_session { ymo_http_session_state_t state; ymo_conn_t* conn; ymo_http_exchange_t* exchange; ymo_http_response_t* response; ymo_bucket_t* send_buffer; void* user_data; }; --------------------------------------------------------------- Functions --------------------------------------------------------------- .. c:function:: ymo_http_session_t* ymo_http_session_create(ymo_conn_t* conn) .. c:function:: void ymo_http_session_free(ymo_http_session_t* session) .. c:function:: ymo_status_t ymo_http_session_add_new_http_request( ymo_http_session_t* http_session) .. c:function:: ymo_status_t ymo_http_session_free_request( ymo_http_session_t* http_session) .. c:function:: ymo_status_t ymo_http_session_init_response( ymo_http_session_t* session, ymo_http_exchange_t* exchange) .. c:function:: ymo_status_t ymo_http_session_add_response( ymo_http_session_t* http_session, ymo_http_response_t* response_in) .. c:function:: ymo_http_response_t* ymo_http_session_next_response( ymo_http_session_t* http_session) .. c:function:: ymo_status_t ymo_http_session_complete_response( ymo_http_session_t* http_session) .. c:function:: ymo_status_t ymo_http_session_is_read_ready(ymo_http_session_t* http_session)