Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for messageCopy (0.14 sec)

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

    		// Once the client closes, we should also close
    		closeConn()
    	}()
    
    	r.err <- messageCopy(ws, r.r, !r.protocols[r.selectedProtocol].Binary, r.ping, r.timeout)
    }
    
    func resetTimeout(ws *websocket.Conn, timeout time.Duration) {
    	if timeout > 0 {
    		ws.SetDeadline(time.Now().Add(timeout))
    	}
    }
    
    func messageCopy(ws *websocket.Conn, r io.Reader, base64Encode, ping bool, timeout time.Duration) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top