mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08: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
@ -27,12 +27,34 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD_FLAGS, long bitmask);
|
||||
# DESCRIPTION
|
||||
|
||||
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 are **CURLULFLAG_ANSWERED**, which sets the **Answered** flag for IMAP
|
||||
uploads, **CURLULFLAG_DELETED**, which sets the **Deleted** flag for IMAP
|
||||
uploads, **CURLULFLAG_DRAFT**, which sets the **Draft** flag for IMAP uploads,
|
||||
**CURLULFLAG_FLAGGED**, which sets the **Flagged** flag for IMAP uploads, and
|
||||
**CURLULFLAG_SEEN**, which sets the **Seen** flag for IMAP uploads.
|
||||
flags to send the server relating to uploaded files. The currently supported
|
||||
flags are:
|
||||
|
||||
## `CURLULFLAG_ANSWERED`
|
||||
|
||||
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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user