digger-network
The contract / request and reply modules for digger
Request
A simple object that represents a HTTP request in JSON
var network = ; var req = network req;
Response
An object representing a HTTP response - you can pass a function to be called when it has replied
var network = ; var res = network
Or you can construct a response from raw JSON
var network = ; var res = network
Contract
A contract is an array of requests to be run as a batch either in series (a pipe contract) or in parallel (a merge contract).
Contracts are produced by running queries on digger containers - they are handled by the digger-contracts module
A contract representing posting data to 2 different places
var network = ; var contract = network
Licence
MIT