Commit Graph

164 Commits

Author SHA1 Message Date
Nicolas Lepage
f0a7bf8f2b docs: updates EliCDavis’ contribution 2025-02-07 11:46:33 +01:00
Nicolas Lepage
d7055fb5ea [BUGFIX] Writes default header when response close and no header already written 2025-02-07 11:45:18 +01:00
Nicolas Lepage
b9921d7d43 fix: writes default header when response closed and no header written 2025-02-07 11:42:55 +01:00
Nicolas Lepage
2f3e39bf97 chore: v2.2.0 v2.2.0 2025-02-06 11:21:25 +01:00
Nicolas Lepage
065e91545b docs: adds FAQ mentionning websockets and tinygo 2025-02-06 11:17:08 +01:00
Nicolas Lepage
9be33ecb4d docs: updates examples doc and adds an index for examples 2025-02-06 10:15:25 +01:00
Nicolas Lepage
6ddad6298b docs: adds EliCDavis as a contributor 2025-02-06 10:08:56 +01:00
Nicolas Lepage
1f38d08145 feat: Provide ability to passthrough and hit network 2025-02-06 09:58:37 +01:00
Nicolas Lepage
5dc06a3dbb docs: updates documentation for registerWasmHTTPListener 2025-02-06 09:55:58 +01:00
Nicolas Lepage
38c1814f66 refactor: change signature for passthrough function 2025-02-06 09:55:56 +01:00
Eli Davis
268c971467 Provide ability to passthrough and hit network 2025-02-05 17:48:27 -08:00
Nicolas Lepage
57a311369e doc: credit contributors 2025-01-19 11:29:03 +01:00
Nicolas Lepage
5f2b342f3a chore: v2.1.0 v2.1.0 2025-01-19 11:16:06 +01:00
Nicolas Lepage
8e787fbf29 Merge pull request #17 from jphastings/compile-with-tinygo
TinyGo compatible packages
2025-01-19 11:03:24 +01:00
JP Hastings-Spital
ce6765e72a feat: Demonstrates TinyGo compatibility
Adds an example that demonstrates TinyGo compatibility, as well as using a server-side HTTP handler as a fallback.
2025-01-19 11:01:15 +01:00
Nico
d12a255cff implements io.Closer for readablestream.Reader 2024-12-30 00:51:31 +01:00
JP Hastings-Spital
a16a847b26 fix: TinyGo compatible packages
The net/http/httptest package isn't implemented in tinygo — this (minor) change swaps to creating the necessary http.Request struct directly (which needs an extra step or two).

This *is not* enough to get TinyGo _working_ as a compiler for this repo, but the compilation succeeds now.
2024-12-14 10:12:55 +00:00
Nicolas Lepage
3cf36c41e2 chore: v2.0.5 v2.0.5 2024-12-09 23:12:31 +01:00
Nicolas Lepage
30a6ef67f9 fix: avoids closing cancelled readablestream 2024-12-09 23:11:17 +01:00
Nicolas Lepage
669f82020d chore: rebuilds hello-sse example 2024-12-09 22:46:00 +01:00
Nicolas Lepage
c94dcd965d chore: v2.0.4 v2.0.4 2024-11-27 22:33:50 +01:00
Nicolas Lepage
2d786bdb14 fix: listen for ReadableStream cancellation 2024-11-27 22:32:19 +01:00
Nicolas Lepage
c561826125 chore: v2.0.3 v2.0.3 2024-10-17 01:12:34 +02:00
Nicolas Lepage
897626b7d1 fix: Firefox does not have request.body ReadableStream 2024-10-17 01:11:41 +02:00
Nicolas Lepage
c93d379f20 feat: improves examples 2024-10-16 14:01:11 +02:00
Nicolas Lepage
98257b470a feat: allow using cache for wasm binary 2024-10-16 14:01:11 +02:00
Nicolas Lepage
b2bd8679fd fix: error management in readablestream writer close method 2024-10-16 13:19:16 +02:00
Nicolas Lepage
770d49a106 chore: v2.0.2 v2.0.2 2024-10-14 23:30:16 +02:00
Nicolas Lepage
e8555180f7 fix: improves error management 2024-10-14 23:28:35 +02:00
Nicolas Lepage
8abad8cb77 fix: crash when request has no body 2024-10-14 23:28:21 +02:00
Nicolas Lepage
74cbaf89b5 fix: wrongful import path in v2.0.0 example v2.0.1 2024-10-14 22:56:59 +02:00
Nicolas Lepage
23cde9d811 chore: v2.0.0 v2.0.0 2024-10-14 22:36:22 +02:00
Nicolas Lepage
b7e5adfd23 feat: uses ReadableStream for request (#16) 2024-10-14 22:23:22 +02:00
Nicolas Lepage
3220c94fa5 fix: hello-state-keepalive example crashes 2024-10-14 17:04:06 +02:00
Nicolas Lepage
5ec4a8d7e8 [FEATURE] Use ReadableStream for Response (#15)
* feat: uses ReadableStream for Response

* chore: rebuilds other examples
2024-10-14 09:14:50 +02:00
Nicolas Lepage
163b49702b ⬆️ go 1.18 compatibility v1.1.0 2022-07-28 00:08:56 +02:00
Nicolas Lepage
624ed00220 ♻️ Use github.com/nlepage/go-js-promise 2021-08-16 23:40:53 +02:00
Nicolas Lepage
1f549a4bf0 📝 Create funding.yml 2021-03-02 12:07:53 +01:00
Nicolas Lepage
73a09847ca ✏️ 2021-02-18 22:01:34 +01:00
Nicolas Lepage
0bf86b9d79 📝 2021-02-10 12:44:50 +01:00
Nicolas Lepage
167237a124 📝 2021-02-09 23:20:40 +01:00
Nicolas Lepage
f602159c47 📝 2021-02-09 23:18:59 +01:00
Nicolas Lepage
a06a85731f 📝 New Random password generator web server example 2021-02-08 13:54:49 +01:00
Nicolas Lepage
17e34981b0 📝 2021-02-06 18:15:36 +01:00
Nicolas Lepage
7434774930 📝 v1.0.1 2021-01-31 22:24:30 +01:00
Nicolas Lepage
d2e039bd3e 📝 2021-01-31 21:59:22 +01:00
Nicolas Lepage
76abf72cff 📝 2021-01-28 16:00:27 +01:00
Nicolas Lepage
472360783b 📝 v1.0.0 2021-01-28 11:05:59 +01:00
Nicolas Lepage
b3e8d72ed1 ♻️ Promise: More idiomatic Go... 2021-01-27 23:21:59 +01:00
Nicolas Lepage
896b5a3cee ♻️ 2021-01-27 23:06:28 +01:00