pike.git / lib / modules / Web.pmod / Api.pmod / Api.pike

version» Context lines:

pike.git/lib/modules/Web.pmod/Api.pmod/Api.pike:60:   //! The HTTP query objects when running async.   protected mapping(int:array(Protocols.HTTP.Query|Callback))    _query_objects = ([]);      protected mapping(string:string) default_headers = ([    "user-agent" : .USER_AGENT   ]);      protected int _call_id = 0;    + #if constant(this_thread)   #define IS_BACKEND_THREAD() (this_thread() == master()->backend_thread()) -  + #else + #define IS_BACKEND_THREAD() (1) + #endif      //! Creates a new Api instance   //!   //! @param client_id   //! The application ID   //!   //! @param client_secret   //! The application secret   //!   //! @param redirect_uri