libcURL.cURLSession.SetRequestMethod - charonn0/RB-libcURL GitHub Wiki

libcURL.cURLSession.SetRequestMethod

Method Signature

 Sub SetRequestMethod(RequestMethod As String)

Parameters

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

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