Click or drag to resize

MediaWikiHelperMakeAbsoluteUrl(String, String) Method

This is preliminary documentation and is subject to change.

Combines a base URL and a relative URL, using https for relative protocol URL.

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public static string MakeAbsoluteUrl(
	string baseUrl,
	string relativeUrl
)

Parameters

baseUrl  String
The base absolute URL. Can be relative protocol URL.
relativeUrl  String
The relative URL.

Return Value

String
The combined URL with absolute protocol.
Exceptions
ExceptionCondition
ArgumentNullExceptionEither baseUrl or relativeUrl is null.
See Also