- Support me :) https://paypal.me/pools/c/89QrGuFsVk;
- NPM: https://www.npmjs.com/package/breakrequest
npm i w3c-xmlhttprequest
npm i breakrequest
Break allows you to easily create any type of request to a server. But not only ! It automatically corrects the urls in case of problems and will come to define itself automatically: the url, the type of request and the type of send. Break also allows response backup as well as a responseJSON if possible. Finally, it automatically detects and manages any type of error and sends it back to you in case of problems!
- We can say that Break fully manages your requests and any type of response from the server.
- You can now get and set the headers
- You can set the responseType
- Two new system of correction in the URL look at the [API]
- Request become BreakRequest
- break.min.js is here !
- Support port (listen) finish !
- New Command: element.correctURL, element.listen
- Bug setting
- Readme update
- API update
- Module added (beta)
- SetRequestHeader
- getAllResponseHeader
- Send
- POST
- GET
- PORT
- CONNECTION
- SEND
- MESSAGES
- PORT
- CONNECTION
- MESSAGES
- PORT
- Mesage
- Open
- Close
- Error
- element.type
- element.json
- element.url
- element.response
- element.send
- element.connected
- element.error
- element.correctURL
- element.listen
- element.method
- element.responseType
- element.writeHead
- element.headerMap
- element.request
- element.loop
- element.ext