flutter_socket_io icon indicating copy to clipboard operation
flutter_socket_io copied to clipboard

I see the data.type is String but from server is byte [] need i do some thing for receive the byte []

Open lmr520 opened this issue 5 years ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

Have you tried reproducing the issue with example available in this repo? Yes/No?

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Device details:

  • Device Type: [Device or Emulator]
  • Model: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Package Version [e.g. 22]

Relevant Logs

      print(data);
    });     I see the data.type is String  but from server is byte []
need i do some thing for  receive  the byte []
Add any relevant logs about the problem here.

socket.on('msg', (data) { print(data); }); I see the data.type is String but from server is byte [] need i do some thing for receive the byte []

lmr520 avatar Aug 06 '20 03:08 lmr520