libcoap
4.3.5-develop-72190a8
Loading...
Searching...
No Matches
coap_ws.h
Go to the documentation of this file.
1
/*
2
* coap_ws.h -- WebSockets Transport Layer Support for libcoap
3
*
4
* Copyright (C) 2023-2024 Olaf Bergmann <bergmann@tzi.org>
5
* Copyright (C) 2023-2024 Jon Shallow <supjps-libcoap@jpshallow.com>
6
*
7
* SPDX-License-Identifier: BSD-2-Clause
8
*
9
* This file is part of the CoAP library libcoap. Please see README for terms
10
* of use.
11
*/
12
18
#ifndef COAP_WS_H_
19
#define COAP_WS_H_
20
33
int
coap_ws_set_host_request
(
coap_session_t
*session,
coap_str_const_t
*ws_host);
34
37
#endif
/* COAP_WS_H */
coap_ws_set_host_request
int coap_ws_set_host_request(coap_session_t *session, coap_str_const_t *ws_host)
Set the host for the HTTP Host: Header in the WebSockets Request.
Definition
coap_ws.c:943
coap_session_t
Abstraction of virtual session that can be attached to coap_context_t (client) or coap_endpoint_t (se...
Definition
coap_session_internal.h:68
coap_str_const_t
CoAP string data definition with const data.
Definition
coap_str.h:46
libcoap
include
coap3
coap_ws.h
Generated on Mon Dec 23 2024 02:06:01 for libcoap by
1.9.8