Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Ponse

Module for work with requests and responses

Install

npm i ponse --save

Api

isGZIP(request) check is gzip supported

  • http request

getPathName(request || string) - get pathname

  • http request

getQuery(request || string) - get query

  • http request

static(options) - serve static content

  • options:
    • cache
    • root

send(data, params) - send data

License

MIT

You can’t perform that action at this time.