This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Rest.
Summary
Returns the left part (Authority) of URI given to it.
- Assembly
- Cake
.Rest .dll - Namespace
- Cake
.Rest - Containing Type
- RestUtilities
Syntax
public static string GetHost(Uri endpoint)
Parameters
| Name | Type | Description |
|---|---|---|
| endpoint | Uri | Endpoint URI |
Return Value
| Type | Description |
|---|---|
| string | Server Authority of endpoint |
