I am trying Mint.Websocket
to connect to a database. I Mint.WebSocket.encode
a message, and this returns a mysterious response in the %Mint.WebSocket{}
struct. I have no idea how to decipher these guys. The function to_string()
does nothing and IEx responds true
when I ask is_bitstring(d)
or is_binary(d)
to the following
<<129, 154, 10, 142, 255, 170, 121, 235, 147, 207, 105, 250, 223, 138, 32, 174,
153, 216, 101, 227, 223, 203, 99, 252, 143, 197, 120, 250, 197, 155, 45, 181>>
#or
<<129, 155, 70, 67, 37, 92, 37, 49, 64, 61, 50, 38, 5, 61, 47, 49, 85, 51, 52,
55, 31, 109, 102, 48, 64, 40, 102, 53, 24, 123, 119, 100, 30>>