Interface IWebDavOutputFormatter
A formatter for WebDAV responses
Namespace:FubarDev.WebDavServer.Formatters
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IWebDavOutputFormatter
Properties
| Improve this Doc View SourceContentType
Gets the content type
Declaration
string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| String |
Encoding
Gets the encoding
Declaration
Encoding Encoding { get; }
Property Value
| Type | Description |
|---|---|
| Encoding |
Methods
| Improve this Doc View SourceSerialize<T>(Stream, T)
Serializes the data to the output
Declaration
void Serialize<T>(Stream output, T data)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | output | The stream to serialize to |
| T | data | The data to serialize |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the data |