Type alias RepresentationResolutionOptions<Accept>

RepresentationResolutionOptions<Accept>: {
    accept?: Accept;
}

Type Parameters

  • Accept extends string = string

Type declaration

  • Optional accept?: Accept

    The Media Type of the caller's preferred representation of the DID document. The Media Type MUST be expressed as an ASCII string. The DID resolver implementation SHOULD use this value to determine the representation contained in the returned didDocumentStream if such a representation is supported and available. This property is OPTIONAL for the resolveRepresentation function and MUST NOT be used with the resolve function.