module HTTPX::Plugins::SsrfFilter::OptionsMethods

  1. lib/httpx/plugins/ssrf_filter.rb

adds support for the following options:

:allowed_schemes

list of URI schemes allowed (defaults to ["https", "http"])

Methods

Public Instance

  1. option_allowed_schemes

Public Instance methods

option_allowed_schemes(value)
[show source]
   # File lib/httpx/plugins/ssrf_filter.rb
94 def option_allowed_schemes(value)
95   Array(value)
96 end