absinthe-graphql / absinthe-socket

Core JavaScript support for Absinthe WS-based operations
MIT License
149 stars 75 forks source link

Using native Javascript WebSockets #35

Closed MarbilleJuntado closed 5 years ago

MarbilleJuntado commented 5 years ago

Is there a way to use the WebSocket object instead of phoenix.js's Socket as an argument to withinAbsintheSocket.create/1?

benwilson512 commented 5 years ago

If you write your own server websocket handler sure. There wouldn't really be any point in using this library at that point though.