Class WebDavStatusCodeExtensions
Extension methods for the WebDavStatusCode
Inherited Members
Namespace:FubarDev.WebDavServer.Model
Assembly:FubarDev.WebDavServer.dll
Syntax
public static class WebDavStatusCodeExtensions
Methods
| Improve this Doc View SourceGetReasonPhrase(WebDavStatusCode, String)
Builds the reason phrase for a status code and an additional message
Declaration
[NotNull]
public static string GetReasonPhrase(this WebDavStatusCode statusCode, [CanBeNull] string additionalMessage = null)
Parameters
Type | Name | Description |
---|---|---|
WebDavStatusCode | statusCode | The status code to build the reason phrase for |
String | additionalMessage | The additional message for the reason phrase |
Returns
Type | Description |
---|---|
String | The built reason phrase |