ithewei / ithewei/libhv

Handling WebSocketClient's WS_OPCODE_CLOSE code

Open
#553 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
7.6k
Forks
1.4k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

So sorry if there already is a way to do this, I couldn't find this one.

The onclose callback currently passes no arguments, could it be made so that it passes the error code sent by the server when the connection is closed (or 0/-1 for cases where the server didn't pass one or connection was closed locally)? Or have it written to hio's error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.