DomainParser

域名解析器

Author

Jenly

Constructors

Link copied to clipboard
constructor()
constructor(maxSize: Int)

Functions

Link copied to clipboard
open fun parseHttpUrl(@NonNull domainUrl: HttpUrl, @NonNull httpUrl: HttpUrl, pathSegmentOffsets: Int): HttpUrl
解析 httpUrl, 将 httpUrl 的 baseUrl 换成 domainUrl