Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DataFromSocket (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    	if !p.write {
    		return len(data), nil
    	}
    	return p.conn.write(p.num, data)
    }
    
    // DataFromSocket is invoked by the connection receiver to move data from the connection
    // into a specific channel.
    func (p *websocketChannel) DataFromSocket(data []byte) (int, error) {
    	if !p.read {
    		return len(data), nil
    	}
    
    	switch p.conn.codec {
    	case rawCodec:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top