Project

General

Profile

Up

_networkCBverbose

Define a callback to receive libcurl debug information. This should not use in production.

Prototype :

fun [ObjNetwork fun [ObjNetwork u0 I S] u1 u0] ObjNetwork

  • ObjNetwork : a network object created with _networkCreate.

  • fun [ObjNetwork u0 I S] u1 : a callback. The supplemental arguments are :
    • I : a flag :
      • NETWORK_DEBUG_INFO : informational text
      • NETWORK_DEBUG_HEADER_IN : header data received from the peer
      • NETWORK_DEBUG_HEADER_OUT : header data sent from the peer
      • NETWORK_DEBUG_DATA_IN : protocol data received from the peer
      • NETWORK_DEBUG_DATA_OUT : protocol data sent from the peer
      • NETWORK_DEBUG_DATA_SSL_IN : ssl data received from the peer
      • NETWORK_DEBUG_DATA_SSL_OUT : ssl data sent from the peer
      • NETWORK_DEBUG_END : end
      • NETWORK_DEBUG_OTHER : other content
    • S : the content

  • u0 : an user parameter, at your convenience

Return : ObjNetwork the same object.

See also :

_networkVerbose

Example :

Note :