mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "pjsip / hep: Provide correct local address for Websockets." into 13
This commit is contained in:
@@ -343,6 +343,15 @@ AST_OPTIONAL_API(int, ast_websocket_fd, (struct ast_websocket *session), { errno
|
||||
*/
|
||||
AST_OPTIONAL_API(struct ast_sockaddr *, ast_websocket_remote_address, (struct ast_websocket *session), {return NULL;});
|
||||
|
||||
/*!
|
||||
* \brief Get the local address for a WebSocket connection session.
|
||||
*
|
||||
* \retval ast_sockaddr Local address
|
||||
*
|
||||
* \since 13.19.0
|
||||
*/
|
||||
AST_OPTIONAL_API(struct ast_sockaddr *, ast_websocket_local_address, (struct ast_websocket *session), {return NULL;});
|
||||
|
||||
/*!
|
||||
* \brief Get whether the WebSocket session is using a secure transport or not.
|
||||
*
|
||||
|
Reference in New Issue
Block a user