libzmq
src
wss_address.cpp
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MPL-2.0 */
2
3
#include "
precompiled.hpp
"
4
#include <string>
5
#include <sstream>
6
7
#include "
wss_address.hpp
"
8
9
zmq::wss_address_t::wss_address_t
() :
ws_address_t
()
10
{
11
}
12
13
zmq::wss_address_t::wss_address_t
(
const
sockaddr *sa_, socklen_t sa_len_) :
14
ws_address_t
(sa_, sa_len_)
15
{
16
}
17
18
int
zmq::wss_address_t::to_string
(
std::string
&addr_)
const
19
{
20
std::ostringstream os;
21
os <<
std::string
(
"wss://"
) << host () <<
std::string
(
":"
)
22
<< _address.port () <<
path
();
23
addr_ = os.str ();
24
25
return
0;
26
}
zmq::wss_address_t::wss_address_t
wss_address_t()
Definition:
wss_address.cpp:9
precompiled.hpp
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:3083
path
GLsizei const GLchar ** path
Definition:
glcorearb.h:3658
zmq::wss_address_t::to_string
int to_string(std::string &addr_) const
Definition:
wss_address.cpp:18
zmq::ws_address_t
Definition:
ws_address.hpp:15
wss_address.hpp
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:02