Duplicates the deflate stream.
Make an internal copy of the source buffer. Updates to the copy will not affect the source buffer.
source = IO::Buffer.for("Hello World") # => # #<IO::Buffer 0x00007fd598466830+11 EXTERNAL READONLY SLICE> # 0x00000000 48 65 6c 6c 6f 20 57 6f 72 6c 64 Hello World buffer = source.dup # => # #<IO::Buffer 0x0000558cbec03320+11 INTERNAL> # 0x00000000 48 65 6c 6c 6f 20 57 6f 72 6c 64 Hello World
Calls superclass method.
Like Net::HTTP.get
, but returns a Net::HTTPResponse
object instead of the body string.
Returns the X.509 certificates the server presented.
The username of the proxy server, if one is configured.
Executes a request which uses a representation and returns its body.
Private setter for the path of the URI::FTP
.