pike.git / lib / modules / Protocols.pmod / HTTP.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:98:       return do_method(method, url, 0, request_headers, con, data);   }      //! Low level HTTP call method.   //!   //! @param method   //! The HTTP method to use, e.g. @expr{"GET"@}.   //! @param url   //! The URL to perform @[method] on. Should be a complete URL, - //! including protocol, e.g. @expr{"https://pike.ida.liu.se/"@}. + //! including protocol, e.g. @expr{"https://pike.lysator.liu.se/"@}.   //! @param query_variables   //! Calls @[http_encode_query] and appends the result to the URL.   //! @param request_headers   //! The HTTP headers to be added to the request. By default the   //! headers User-agent, Host and, if needed by the url,   //! Authorization will be added, with generated contents.   //! Providing these headers will override the default. Setting   //! the value to 0 will remove that header from the request.   //! @param con   //! Old connection object.
pike.git/lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:232:    con->con = udp;    return con;   }      //! Low level asynchronous HTTP call method.   //!   //! @param method   //! The HTTP method to use, e.g. @expr{"GET"@}.   //! @param url   //! The URL to perform @[method] on. Should be a complete URL, - //! including protocol, e.g. @expr{"https://pike.ida.liu.se/"@}. + //! including protocol, e.g. @expr{"https://pike.lysator.liu.se/"@}.   //! @param query_variables   //! Calls @[http_encode_query] and appends the result to the URL.   //! @param request_headers   //! The HTTP headers to be added to the request. By default the   //! headers User-agent, Host and, if needed by the url,   //! Authorization will be added, with generated contents.   //! Providing these headers will override the default. Setting   //! the value to 0 will remove that header from the request.   //! @param con   //! Previously initialized connection object.