vibe.d beta banner
get vibe.d
0.10.1

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

registerCommonInternetSchema - multiple declarations

Function registerCommonInternetSchema

deprecated void registerCommonInternetSchema (
  string schema
);

Function registerCommonInternetSchema

Adds the name of a schema to be treated as double-slash style.

void registerCommonInternetSchema (
  string schema,
  ushort port
) nothrow @trusted;

Parameters

NameDescription
schema Name of the schema
port Default port for the schema

See also

isCommonInternetSchema, RFC 1738 Section 3.1

Authors

Sönke Ludwig

Copyright

© 2012-2017 Sönke Ludwig

License

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