how to work out payload size from html5 websocket
问题 how can I tell an html5 message payload length over websockets? Im aware the base protocol consists of an op code, then length is determine by the next 1 to 8 bytes, then the following values is the hashing and then the rest is payload! Im creating a java serverside application that will receivea message from a html5 client and then handle, iI can handle messages up to 256 bytes. Any help to work this out even manually would be great (i.e how to habdle the bytes that determine the payload)