41 Commits

Author SHA1 Message Date
mike.art
39b6eeae72 Implement Queues Consumer 2024-11-20 11:41:31 +01:00
Ben Krieger
bdd54f02e7 Carry over non-zero Content-Length to Response 2024-11-07 11:23:07 -05:00
mike.art
ee70c46c1e Add message producer 2024-10-13 19:01:02 +02:00
syumai
cf3b68b6b3 fixed panic on fetch returning empty response 2024-08-11 22:07:10 +09:00
Mircea Suciu
0b2343b258 add jsutil.MaybeInt wrapper; apply it to IncomingProperties.Asn 2024-07-29 13:19:42 +00:00
syumai
1b359b90d9 reduce panic in stream canceling 2024-04-21 03:47:19 +09:00
syumai
ed6b2493ff use jsutil.Error 2024-04-21 03:38:10 +09:00
syumai
5e18504eb9 add jsutil.Error / jsutil.Errorf 2024-04-21 03:37:14 +09:00
syumai
175a83e68a fix stream conversion 2024-04-21 03:25:21 +09:00
syumai
13b7485b1a add missing null checks to R2 conversion 2024-04-18 01:58:23 +09:00
syumai
52a78e1789 remove runtimeObj from runtimecontext.New 2024-04-17 00:56:35 +09:00
syumai
33e4ad8f50 remove context.Context from existing RuntimeContext related func params 2024-04-17 00:41:39 +09:00
syumai
8cf026a01b [experimental] add Hono middleware 2024-02-11 19:30:23 +09:00
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