Exception: Winhttp::OSError

Inherits:
Error
  • Object
show all
Defined in:
lib/winhttp.rb,
ext/winhttp/winhttp.c

Overview

A WinHTTP/Win32 failure carries the originating error code (Integer, or nil for a Ruby-side timeout: deadline), set on the exception in C / by the state machine.

Instance Method Summary collapse

Instance Method Details

#codeObject



37
38
39
# File 'lib/winhttp.rb', line 37

def code
  @code
end