Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

WebSocketError.needMoreInput #151

Open
zxpLearnios opened this issue Oct 12, 2019 · 0 comments
Open

WebSocketError.needMoreInput #151

zxpLearnios opened this issue Oct 12, 2019 · 0 comments

Comments

@zxpLearnios
Copy link

when I use it from the guide in github. but it show "

func readResponse() throws {
let end : [UInt8] = [ 0x0D, 0x0A, 0x0D, 0x0A ]
let ptr = memmem(inputBytes!+inputBytesStart, inputBytesLength, end, 4)
if ptr == nil {
throw WebSocketError.needMoreInput
}
"
throw WebSocketError.needMoreInput is throw

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant