mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
CURLOPT_UPLOAD_FLAGS.md: expand
And list each supported flag in a nicer way Closes #21218
This commit is contained in:
parent
6d6d81e393
commit
b669a58f2e
1 changed files with 28 additions and 6 deletions
|
|
@ -27,12 +27,34 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD_FLAGS, long bitmask);
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
|
|
||||||
Pass a long as parameter, which is set to a bitmask, to tell libcurl which
|
Pass a long as parameter, which is set to a bitmask, to tell libcurl which
|
||||||
flags to send the server relating to uploaded files. The current supported
|
flags to send the server relating to uploaded files. The currently supported
|
||||||
flags are **CURLULFLAG_ANSWERED**, which sets the **Answered** flag for IMAP
|
flags are:
|
||||||
uploads, **CURLULFLAG_DELETED**, which sets the **Deleted** flag for IMAP
|
|
||||||
uploads, **CURLULFLAG_DRAFT**, which sets the **Draft** flag for IMAP uploads,
|
## `CURLULFLAG_ANSWERED`
|
||||||
**CURLULFLAG_FLAGGED**, which sets the **Flagged** flag for IMAP uploads, and
|
|
||||||
**CURLULFLAG_SEEN**, which sets the **Seen** flag for IMAP uploads.
|
Sets the **Answered** flag for IMAP uploads. Indicates that the message has
|
||||||
|
been replied to.
|
||||||
|
|
||||||
|
## `CURLULFLAG_DELETED`
|
||||||
|
|
||||||
|
Sets the **Deleted** flag for IMAP uploads. Marks the message for deletion
|
||||||
|
rather than immediately removing it.
|
||||||
|
|
||||||
|
## `CURLULFLAG_DRAFT`
|
||||||
|
|
||||||
|
Sets the **Draft** flag for IMAP uploads. Marks the message as an uncompleted
|
||||||
|
composition.
|
||||||
|
|
||||||
|
## `CURLULFLAG_FLAGGED`
|
||||||
|
|
||||||
|
Sets the **Flagged** flag for IMAP uploads. Marks the message for special
|
||||||
|
attention.
|
||||||
|
|
||||||
|
## `CURLULFLAG_SEEN`
|
||||||
|
|
||||||
|
Sets the **Seen** flag for IMAP uploads. Marks the message as read.
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
# DEFAULT
|
# DEFAULT
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue