Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
8d8b7741
Commit
8d8b7741
authored
Dec 07, 2021
by
Max Kellermann
Committed by
Max Kellermann
Jul 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/curl/Request: add API docs
parent
fd9114e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Request.hxx
src/lib/curl/Request.hxx
+8
-2
No files found.
src/lib/curl/Request.hxx
View file @
8d8b7741
/*
* Copyright 2008-20
18
Max Kellermann <max.kellermann@gmail.com>
* Copyright 2008-20
21
Max Kellermann <max.kellermann@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
...
...
@@ -39,6 +39,12 @@ struct StringView;
class
CurlGlobal
;
class
CurlResponseHandler
;
/**
* A non-blocking HTTP request integrated via #CurlGlobal into the
* #EventLoop.
*
* To start sending the request, call Start().
*/
class
CurlRequest
final
{
CurlGlobal
&
global
;
...
...
@@ -136,7 +142,7 @@ public:
easy
.
SetPost
(
value
);
}
void
SetRequestBody
(
const
void
*
data
,
size_t
size
)
{
void
SetRequestBody
(
const
void
*
data
,
s
td
::
s
ize_t
size
)
{
easy
.
SetRequestBody
(
data
,
size
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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