about summary refs log tree commit diff stats
path: root/src/io/response.nim
Commit message (Collapse)AuthorAgeFilesLines
* return Result[T, JSError] from fromJSbptato2023-07-021-1/+0
|
* Factor out headers into separate modulebptato2023-07-011-0/+1
|
* use =destroy instead of finalizersbptato2023-07-011-0/+2
| | | | | This should help with moving to ORC in the future. (Also, finalizers do not work very well in the first place.)
* Do not allow text() twice, etc...bptato2023-06-201-6/+19
|
* Add Response.ok, url, fix type confusion with statusbptato2023-06-191-2/+8
|
* Reject fetch promise on network errorbptato2023-06-191-1/+1
| | | | Instead of setting the non-standard res variable.
* Cleanups & bug fixes involving promisesbptato2023-06-151-0/+50
Now a promise returning nil doesn't just leave the rest of the then chain hanging. Hooray.