Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nheko Reborn
mtxclient
Commits
8bf51aba
Commit
8bf51aba
authored
Sep 21, 2018
by
Konstantinos Sideris
Browse files
v0.2.0
parent
99ca7480
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8bf51aba
cmake_minimum_required
(
VERSION 3.1
)
project
(
matrix_client VERSION 0.
1
.0 LANGUAGES CXX C
)
project
(
matrix_client VERSION 0.
2
.0 LANGUAGES CXX C
)
option
(
ASAN
"Compile with address sanitizers"
OFF
)
option
(
BUILD_LIB_TESTS
"Build tests"
ON
)
...
...
appveyor.yml
View file @
8bf51aba
---
version
:
0.
1
.0-{build}
version
:
0.
2
.0-{build}
configuration
:
Release
image
:
Visual Studio
2017
...
...
include/mtxclient/http/session.hpp
View file @
8bf51aba
...
...
@@ -85,7 +85,7 @@ setup_headers(mtx::http::Session *session,
const
std
::
string
&
endpoint
,
const
std
::
string
&
content_type
=
""
)
{
session
->
request
.
set
(
boost
::
beast
::
http
::
field
::
user_agent
,
"mtxclient v0.
1
.0"
);
session
->
request
.
set
(
boost
::
beast
::
http
::
field
::
user_agent
,
"mtxclient v0.
2
.0"
);
session
->
request
.
set
(
boost
::
beast
::
http
::
field
::
accept_encoding
,
"gzip,deflate"
);
session
->
request
.
set
(
boost
::
beast
::
http
::
field
::
host
,
session
->
host
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment