Method: IPAccess::Net::HTTP#acl_recheck
- Defined in:
- lib/ipaccess/ghost_doc/ghost_doc_net_http.rb
#acl_recheck ⇒ Object
This method allows you to re-check access on demad. It uses internal socket’s address and access set assigned to an object. It will close your communication session before throwing an exception in case of denied access – you can prevent it by setting the flag opened_on_deny to true. The flag can be set while initializing object (through argument :opened_on_deny) or by setting the attribute.
228 229 230 |
# File 'lib/ipaccess/ghost_doc/ghost_doc_net_http.rb', line 228 def acl_recheck # Real code hidden. end |