Skip to content

libcURL.cURLSession.SetRequestMethod

Andrew Lambert edited this page Jan 8, 2023 · 6 revisions

libcURL.cURLSession.SetRequestMethod

Method Signature

 Function SetRequestMethod(RequestMethod As String) As Boolean

Parameters

Name Type Comment
RequestMethod String The literal method name to use in lieu of the default (e.g. TRACE)

Return value

Returns True on success.

Remarks

Overrides the request method used by libcurl. The behavior of this feature depends on which protocol is being used, and not all protocols are supported. Refer to the libcurl documentation for details.

To reset the default method, pass the empty string ("").

See also

Clone this wiki locally