URL.this - multiple declarations

Function URL.this

Constructs a new URL object from its components.

Prototypes

this(
  string schema,
  string host,
  ushort port,
  Path path
) ref;

this(
  string schema,
  Path path
) ref;

Function URL.this

Constructs a URL from its string representation.

Prototype

this(
  string url_string
) ref;

TODO

additional validation required (e.g. valid host and user names and port)

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.