Sputnik v0.2.1 Request View Source

This module wraps a http client

Link to this section Summary

Functions

Returns the following informations from the given url to the pid

Asyncronously returns the following informations from the given url to the pid

Link to this section Functions

Returns the following informations from the given url to the pid:

  • page body
  • request status code
  • request url
  • headers

Parameters

  • url: the URL to fetch via HTTP client

Asyncronously returns the following informations from the given url to the pid:

  • page body
  • request status code
  • request url
  • headers

Parameters

  • url: the URL to fetch via HTTP client
  • pid: the pid which will receive the output