Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Vitaly Shukela
    @vi
    Strange.
    Try specifying the option after URL, not before.
    It assumes the URL is a second header.
    Raine Virta
    @raine
    Hey, that works
    Vitaly Shukela
    @vi
    It is to be fixed in next release.
    Raine Virta
    @raine
    Thank you
    Vitaly Shukela
    @vi
    Another way to specify it is websocat -H=Cookie:foo ws://..., with the equal sign.
    Vitaly Shukela
    @vi
    Added installation section to the README. Is it OK?
    Vitaly Shukela
    @vi
    Added SSL listener and SOCKS5 proxy support.
    Raine Virta
    @raine
    @vi much better
    (wrt. installation section)
    although I would place the section above Usage
    one of the most important bits of information user will be looking for on that page
    Vitaly Shukela
    @vi
    Done.
    Vitaly Shukela
    @vi
    Cooking a new release with -k (--insecure) option to force connecting to development wss://. It also should be buildable with newer OpenSSL.
    Vitaly Shukela
    @vi
    Websocat 1.2.0 now in Homebrew.
    Vitaly Shukela
    @vi
    Websocat in master now uses tokio instead of tokio-core. But still hyper 0.10 instead of 0.12 unfortunately.
    dsboo
    @dsboo
    hi:) thanks to websocket(your program). i want to send binary msg using this tool in client mode. but i can't find how to send binary msg from file or cli. could you give me a example?
    Vitaly Shukela
    @vi
    dsboo, cat myfile | websocat -b ws://destination/ or websocat -b readfile:myfile ws://destination ?
    If file is big, it would be split in mutliple WebSocket messages. Use -B option to override maximum message size.
    dsboo
    @dsboo
    thanks!
    is it impossible cli interaction?
    Vitaly Shukela
    @vi
    Do you mean interactively sending text messages, then send one-off message from file, then continue interactively typing text WebSocket messages?
    Kevin Elliott
    @kevinelliott
    Hello, I'm trying to use websocat to capture a stream at http://websdr.ewi.utwente.nl:8901/?tune=3715usb which has an embedded websocket at ws://websdr.ewi.utwente.nl:8901/~~stream?v=11 ... any thoughts?
    Vitaly Shukela
    @vi
    @kevinelliott You need to specify origin: websocat -b --origin http://websdr.ewi.utwente.nl:8901 ws://websdr.ewi.utwente.nl:8901/~~stream?v=11
    Kevin Elliott
    @kevinelliott
    Thanks, that worked. Looks like the data needs to get converted to audio somehow
    Vitaly Shukela
    @vi
    kevinelliott, If binary websocket message boundaries are significant then using websocat to decode that to audio may be problematic.