Created
December 5, 2019 17:57
-
-
Save mrmurphy/bde993853ac75f79b9c81f670761b5da to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[@bs.module] external bent('headers, 'response) : ( | |
~method: @bs.string] [ | |
| `GET | |
| `POST | |
| `PUT | |
| `DELETE | |
], | |
~format: [@bs.string] [ | |
| `string | |
| `buffer | |
| `json | |
], | |
~status: int, | |
~headers: Option(Js.t('headers)), | |
~url: string | |
) => Js.Promise.t('response) = "bent"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, sir.