MimeTypesHelperGetSparqlWriter Method (IEnumerableString, String) |
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static ISparqlResultsWriter GetSparqlWriter(
IEnumerable<string> ctypes,
out string contentType
)
Public Shared Function GetSparqlWriter (
ctypes As IEnumerable(Of String),
<OutAttribute> ByRef contentType As String
) As ISparqlResultsWriter
Parameters
- ctypes
- Type: System.Collections.GenericIEnumerableString
String array of accepted Content Types. - contentType
- Type: SystemString
The Content Type header that should be sent in the Response to the Request.
Return Value
Type:
ISparqlResultsWriterA Writer for a Content Type the client accepts and the Content Type that should be sent to the client.
Remarks
This method does not take account of any quality/charset preference parameters included in the Accept Header.
Global options pertaining to writers will be applied to the selected writer.
See Also