Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个库我该如何拿到messageType 跟 io.Reader,类似gorilla/websocket 的 NextReader #47

Closed
DarkiT opened this issue Sep 4, 2023 · 1 comment
Labels
question Further information is requested

Comments

@DarkiT
Copy link

DarkiT commented Sep 4, 2023

请问这个库我该如何拿到messageType 跟 io.Reader,类似gorilla/websocket 的 NextReader

func (c *Conn) NextReader() (messageType int, r io.Reader, err error) 
@lxzan
Copy link
Owner

lxzan commented Sep 4, 2023

都在gws.Message里面

@lxzan lxzan added the question Further information is requested label Sep 4, 2023
@lxzan lxzan closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants