module Faraday::Utils
def escape(str)
Experimental RBS support (using type sampling data from the type_fusion
project).
def escape: (String str) -> untyped
This signature was generated using 1 sample from 1 application.
def escape(str) str.to_s.gsub(ESCAPE_RE) do |match| "%#{match.unpack('H2' * match.bytesize).join('%').upcase}" end.gsub(' ', default_space_encoding) end