Following up on #65 and the Discord discussion
I looked at #65 and it looks good for the most part, but the SDK changed significantly since that PR.
Parts that can be salvaged from that PR:
- Cloudflare doesn't support bidirectional streaming, so the protocol mode either needs to be exported or the CF integration needs to validate it. (Interestingly, the TypeScript SDK seems to allow bidirectional streaming on CF, but I don't think that works. Or does it?)
- Request-response logic (although I think there are simpler ways to return the data)
Based on my initial tests the first blocker: jsonwebtoken and ring cannot be compiled to wasm (or it's problematic?). They are used in the core. I've used jwt-simple on CF with success.
@slinkydeveloper what do you think about that last bit?
Following up on #65 and the Discord discussion
I looked at #65 and it looks good for the most part, but the SDK changed significantly since that PR.
Parts that can be salvaged from that PR:
Based on my initial tests the first blocker:
jsonwebtokenandringcannot be compiled to wasm (or it's problematic?). They are used in the core. I've usedjwt-simpleon CF with success.@slinkydeveloper what do you think about that last bit?