0.3 - Promise Support
Roblox Requests now supports Promises.
Changed
Old names are deprecated but still work as of 0.3.
- Response.code changed to Response.status_code
- Response.success changed to Response.ok
- Response.content changed to Response.text
New
- Response.encoding: string
- http.send_promise() -> Promise
- http.get_promise(), post_promise(), ... -> Promise
- Session:send_promise() -> Promise
- Session:get_promise(), post_promise(), ... -> Promise
- Request:promise() -> Promise