@:optionaloptionalunicode:Null<Bool>
true if Unicode characters appearing in the host component of the URL string should be encoded directly as opposed to being Punycode encoded.
true
Default: false.
false
@:optionaloptionalsearch:Null<Bool>
true if the serialized URL string should include the search query, false otherwise.
Default: true.
@:optionaloptionalfragment:Null<Bool>
true if the serialized URL string should include the fragment, false otherwise.
@:optionaloptionalauth:Null<Bool>
true if the serialized URL string should include the username and password, false otherwise.