We can just re-use the existing ServerConfig to add configuration options for the Ogmios websocket server to QueryConfig. Then we can adjust mkOgmiosWebSocketAff to take a ServerConfig (instead of Url) and construct a URL accordingly
[x] Export a defaultWsConfig with {secure: false, host: "localhost", port: UInt.fromInt 1337} as values (these are the defaults for Ogmios)
We can just re-use the existing
ServerConfig
to add configuration options for the Ogmios websocket server toQueryConfig
. Then we can adjustmkOgmiosWebSocketAff
to take aServerConfig
(instead ofUrl
) and construct a URL accordinglydefaultWsConfig
with{secure: false, host: "localhost", port: UInt.fromInt 1337}
as values (these are the defaults for Ogmios)mkOgmiosWebSocketAff
accordingly