DefaultContentNegotiationService
Default implementation of content negotiation.
Functions
Link copied to clipboard
Deserialize document from content type.
Link copied to clipboard
open suspend override fun negotiateContentType(acceptHeader: String?, defaultType: String = DidMediaTypes.DID): String
Negotiate content type from Accept header.
Link copied to clipboard
Serialize document to requested content type.