class

Crowbar::Rules::URLRule

Inherits Crowbar::Rule < Reference < Object

Structure-preserving rule for URIs, URLs, and Query Strings. Maintains standard RFC 3986 URI framing while mutating paths, queries, ports, and schemes.

Instance methods

apply(context : Context, buffer : Buffer) : Bool

Applies a structure-preserving transformation to the buffer

Source
description
Source
match?(buffer : Buffer) : Bool

Checks whether the buffer matches the format handled by this rule

Source
name
Source