Skip to content

Commit

Permalink
Fixups.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Mar 19, 2024
1 parent 9e6ed5d commit 74f3702
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions http/wasi_http.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define __WASI_HTTP_H__

#include <stdint.h>
#include <stdbool.h>

#define WASI_HTTP_TYPES_METHOD_GET 0
#define WASI_HTTP_TYPES_METHOD_HEAD 1
Expand All @@ -14,6 +15,10 @@
#define WASI_HTTP_TYPES_METHOD_PATCH 8
#define WASI_HTTP_TYPES_METHOD_OTHER 9

#define WASI_HTTP_TYPES_SCHEME_HTTP 0
#define WASI_HTTP_TYPES_SCHEME_HTTPS 1
#define WASI_HTTP_TYPES_SCHEME_OTHER 2

#define GET WASI_HTTP_TYPES_METHOD_GET
#define POST WASI_HTTP_TYPES_METHOD_POST
#define PUT WASI_HTTP_TYPES_METHOD_PUT
Expand Down

0 comments on commit 74f3702

Please sign in to comment.