Skip to content

wasm-outbound-http-examples/emscripten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make HTTP requests from inside WASM in C using Emscripten

This devcontainer is configured to provide you a latest stable version of Emscripten.

Open in GitHub Codespaces

The following examples allow you to build a browser ones (the same as related demo).

# Example Description Browser demo
1

Using callbacks

emscripten_fetch() with onsuccess and onerror callbacks

Demo

2

EMSCRIPTEN_FETCH_SYNCHRONOUS

emscripten_fetch() employing sync XHR

Demo

Created for (wannabe-awesome) list