-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.CookieEngine.StringValue
Andrew Lambert edited this page Nov 1, 2015
·
7 revisions
#libcURL.CookieEngine.StringValue
##Method Signature
Function StringValue(Index As Integer, StringFormat As Integer = libcURL.CookieEngine.FORMAT_NETSCAPE) As String##Parameters
| Name | Type | Comment |
|---|---|---|
| Index | Integer | The index of the cookie to get. The first cookie is at Index 0
|
| StringFormat | Integer | Optional. The format of the returned string. |
##Return value
Returns the string value of the cookie at Index using the format specified by StringFormat. Currently supported formats are:
-
FORMAT_NETSCAPE: Netscape cookiejar, for example:.example.com[TAB]TRUE[TAB]/[TAB]FALSE[TAB]1441870730[TAB]CookieName[TAB]CookieValue -
FORMAT_HTTP: HTTPSet-Cookieheader, for example:Set-Cookie: CookieName=CookieValue; domain=example.com
Either format can be passed back to libcURL by using the SetCookie method.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.