Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7889903
voip.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
voip.cpp
View Options
/******************************************************************************
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
#include
<algorithm>
#include
"voip.hpp"
namespace
Kazv
::
Api
{
BaseJob
::
Query
GetTurnServerJob::buildQuery
(
)
{
BaseJob
::
Query
_q
;
return
_q
;
}
BaseJob
::
Body
GetTurnServerJob::buildBody
()
{
// ignore unused param
return
BaseJob
::
EmptyBody
{};
};
GetTurnServerJob
::
GetTurnServerJob
(
std
::
string
serverUrl
,
std
::
string
_accessToken
)
:
BaseJob
(
std
::
move
(
serverUrl
),
std
::
string
(
"/_matrix/client/r0"
)
+
"/voip/turnServer"
,
GET
,
std
::
string
(
"GetTurnServer"
),
_accessToken
,
ReturnType
::
Json
,
buildBody
()
,
buildQuery
()
,
{}
)
{
}
GetTurnServerJob
GetTurnServerJob
::
withData
(
JsonWrap
j
)
&&
{
auto
ret
=
GetTurnServerJob
(
std
::
move
(
*
this
));
ret
.
attachData
(
j
);
return
ret
;
}
GetTurnServerJob
GetTurnServerJob
::
withData
(
JsonWrap
j
)
const
&
{
auto
ret
=
GetTurnServerJob
(
*
this
);
ret
.
attachData
(
j
);
return
ret
;
}
GetTurnServerJob
::
JobResponse
::
JobResponse
(
Response
r
)
:
Response
(
std
::
move
(
r
))
{}
bool
GetTurnServerResponse
::
success
()
const
{
return
Response
::
success
()
&&
isBodyJson
(
body
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Oct 2, 2:48 AM (17 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
487007
Default Alt Text
voip.cpp (1 KB)
Attached To
Mode
rL libkazv
Attached
Detach File
Event Timeline
Log In to Comment