Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readDataInto (0.05 sec)

  1. internal/grid/connection.go

    	wsReader := wsutil.Reader{
    		Source:          conn,
    		State:           c.side,
    		CheckUTF8:       true,
    		SkipHeaderCheck: false,
    		OnIntermediate:  controlHandler,
    	}
    	readDataInto := func(dst []byte, s ws.State, want ws.OpCode) ([]byte, error) {
    		dst = dst[:0]
    		for {
    			hdr, err := wsReader.NextFrame()
    			if err != nil {
    				return nil, err
    			}
    			if hdr.OpCode.IsControl() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top