28 Commits

Author SHA1 Message Date
syumai
bf3ab8ec41 remove blob() call from jshttp.ToResponse 2024-02-01 09:44:39 +09:00
syumai
94f29ebdf1 move fetch's stream logic to jshttp.ToStreamResponse 2024-02-01 09:33:52 +09:00
syumai
449cac3e91 fix streamReader to call cancel instead of close 2024-01-25 01:14:33 +09:00
syumai
5604a29f06 add jsutil.RawJSWriter and use it in jshttp.ResponseWriter 2024-01-25 00:00:36 +09:00
syumai
9810f12c78 init Go instance on request 2024-01-24 22:05:49 +09:00
aki-0421
2eb402014f
R: refactor context 2024-01-22 21:29:39 +09:00
aki-0421
cdd8a26c53
F: add incoming property context 2024-01-17 17:21:34 +09:00
aki-0421
bac0abd44b
R: rename runtimecontext to cfcontext 2024-01-17 17:19:04 +09:00
syumai
85ccbfb050 pass RuntimeContext on create Go instance 2024-01-04 23:43:28 +09:00
syumai
1f1d7bc2f1 remove jsutil.Global() 2024-01-04 22:45:03 +09:00
syumai
cfee7c5d4e add TryCatch jsutil and use it in socket dialer 2024-01-03 23:10:46 +09:00
syumai
85a1d52210 remove duplicated ConvertReadableStreamToReader func 2024-01-03 13:30:03 +09:00
syumai
a7c665301a Merge branch 'main' into sockets 2024-01-03 13:18:13 +09:00
syumai
0390b11d97 fix fetch response to use blob() instead of text() 2023-12-31 23:42:41 +09:00
a
688b4b731e
socket 2023-06-26 03:16:43 -05:00
syumai
01e2085348 ignore io.ErrClosedPipe 2023-05-27 10:47:27 +09:00
syumai
5d83286215 rename ResponseWriterBuffer to ResponseWriter 2023-04-29 12:18:34 +09:00
syumai
78444c3c67 commonize ToJSResponse func 2023-04-29 11:59:09 +09:00
aki-0421
a19471694e
R: allow null body 2023-04-26 12:56:33 +09:00
syumai
8cca6478cf fix MDN doc URL 2023-02-23 23:30:01 +09:00
syumai
d701686ffc move ToJSRequest and ToResponse to jshttp from dostub 2023-02-23 23:29:22 +09:00
syumai
ddaaeb53ac split jshttp/header.go 2023-02-23 23:25:43 +09:00
syumai
de512c97e0 split jshttp from jsutil 2023-02-23 23:20:21 +09:00
syumai
88f0dc1798 fix build error 2023-02-22 19:23:56 +09:00
syumai
cd154341ff move Reqeust / Response / ResponseWriterBuffer to jsutil 2023-02-22 19:11:51 +09:00
Andras Karasz
04e25d2270
support durable object stubs 2023-02-21 18:46:22 +01:00
syumai
9e87698fac add runtime context 2023-02-11 11:53:05 +09:00
syumai
890096fce9 split internal/jsutil 2022-09-13 23:18:17 +09:00