-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Request and Response blob methods (#177)
* Implement Request#blob and Response#blob methods * Refactor Blob internal buffer. This patch allows creating buffer from owned memory by simply transfering the ownership rather than copying memory. * Remove outdated comment * Add blob body input * Implement structured-clone for Blob
- Loading branch information
Showing
21 changed files
with
211 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ class RequestOrResponse final { | |
|
||
enum class BodyReadResult { | ||
ArrayBuffer, | ||
Blob, | ||
JSON, | ||
Text, | ||
}; | ||
|
Oops, something went wrong.