vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

URL.this - multiple declarations

Function URL.this

Constructs a new URL object from its components.

ref this (
  string schema,
  string host,
  ushort port,
  GenericPath!(vibe.core.path.InetPathFormat) path
) pure @safe;

ref this (
  string schema,
  GenericPath!(vibe.core.path.InetPathFormat) path
) pure @safe;

ref this (
  string schema,
  string host,
  ushort port,
  GenericPath!(vibe.core.path.PosixPathFormat) path
) pure @safe;

ref this (
  string schema,
  GenericPath!(vibe.core.path.PosixPathFormat) path
) pure @safe;

ref this (
  string schema,
  string host,
  ushort port,
  GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure @safe;

ref this (
  string schema,
  GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure @safe;

Function URL.this

Constructs a "file:" URL from a native file system path.

ref this (
  GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure @safe;

ref this (
  GenericPath!(vibe.core.path.PosixPathFormat) path
) pure @safe;

ref this (
  string schema,
  string host,
  ushort port,
  GenericPath!(vibe.core.path.PosixPathFormat) path
) pure @safe;

ref this (
  string schema,
  GenericPath!(vibe.core.path.PosixPathFormat) path
) pure @safe;

ref this (
  string schema,
  string host,
  ushort port,
  GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure @safe;

ref this (
  string schema,
  GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure @safe;

ref this (
  GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure @safe;

ref this (
  GenericPath!(vibe.core.path.PosixPathFormat) path
) pure @safe;

Note that the path must be absolute. On Windows, both, paths starting with a drive letter and UNC paths are supported.

Function URL.this

Constructs a URL from its string representation.

ref this (
  string url_string
) @safe;

TODO

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

Authors

Sönke Ludwig

Copyright

© 2012-2017 RejectedSoftware e.K.

License

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