method

write

write(buf)
public

No documentation available.

# File lib/net/http/generic_request.rb, line 171
    def write(buf)
      # avoid memcpy() of buf, buf can huge and eat memory bandwidth
      rv = buf.bytesize
      @sock.write("#{rv.to_s(16)}\r\n", buf, "\r\n")
      rv
    end