Skip to content

Commit

Permalink
expose PercentEncodeString
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored and maeb committed Sep 16, 2024
1 parent c80eb90 commit 899e697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions url/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type Parser interface {
Parse(rawUrl string) (*Url, error)
ParseRef(rawUrl, ref string) (*Url, error)
BasicParser(urlOrRef string, base *Url, url *Url, stateOverride State) (*Url, error)
PercentEncodeString(s string, tr *PercentEncodeSet) string
NewUrl() *Url
}

Expand Down

0 comments on commit 899e697

Please sign in to comment.