Function Domain.serviceAndProtocolLabels

Get service and protocol labels

std.typecons.Tuple!(const(char[]),"service",const(char[]),"protocol") serviceAndProtocolLabels() nothrow @safe const;

Returns

A tuple containing both service and protocol labels, empty ServiceProtoTuple is returned when one of them is missing. Returned labels will not include leading _ character.