Options
All
  • Public
  • Public/Protected
  • All
Menu

Share class that acts as an wrapper around the native libcurl share handle.

C++ source code

Using this class you should be able to share data between two {@link "Easy".Easy | Easy} handles, like cookies for instance.

For usage see examples/05-share.js

Hierarchy

  • ShareNativeBinding

Index

Methods

close

  • close(): void
  • Closes this handle.

    After the handle has been closed it must not be used again.

    This is basically the same than curl_share_cleanup()

    Returns void

setOpt

strError

  • Returns a description for the given error code.

    Official libcurl documentation: curl_share_strerror()

    Parameters

    Returns string

Generated using TypeDoc