Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

184
Visualizações
How to make a WebSocket frame data to hide/mask

Consider the following use-case:
Say I am making the socket request from the browser (consider socket object is available and status is connected):

enter image description here

So if you inspect in the developer tools of chrome/any browser, you will be able to observe something like below:

enter image description here

I was thinking there is a way to mask or send it in binary format how other messaging services are doing on web socket. I tried the following way to send masked/binary

enter image description here

But its showing again as below (it not masked/binary)

enter image description here

This is how it looks on the other messaging services.

enter image description here

I have tried to explore the full documentation on the socket.io npm module. But unfortunately did not find how to do this.

Can anyone put some light on this or any reference to the document link will be of great help.


**Updates**: I found this reference but not able to understand how it can be used on the library i.e. node module socket.io [Data Framing & Masking](https://www.rfc-editor.org/rfc/rfc6455#section-5)
over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda