Wraps up a Socket for method interception.
# File lib/httpclient/session.rb, line 380 380: def <<(str) 381: @socket << str 382: end
# File lib/httpclient/session.rb, line 351 351: def close 352: @socket.close 353: end
# File lib/httpclient/session.rb, line 355 355: def closed? 356: @socket.closed? 357: end
# File lib/httpclient/session.rb, line 359 359: def eof? 360: @socket.eof? 361: end
# File lib/httpclient/session.rb, line 384 384: def flush 385: @socket.flush 386: end
# File lib/httpclient/session.rb, line 363 363: def gets(*args) 364: @socket.gets(*args) 365: end
# File lib/httpclient/session.rb, line 367 367: def read(*args) 368: @socket.read(*args) 369: end
# File lib/httpclient/session.rb, line 371 371: def readpartial(*args) 372: # StringIO doesn't support :readpartial 373: if @socket.respond_to?(:readpartial) 374: @socket.readpartial(*args) 375: else 376: @socket.read(*args) 377: end 378: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.