Skip to content
  • Sietse Ringers's avatar
    feat: improve error messages of server.ParseSessionRequest() · d3cfebc5
    Sietse Ringers authored
    Instead of attempting to parse the argument as each possible session type,
    this function now establishes the message type using the JSON-LD @context
    tag, and then unmarshals the argument as the specified message type.
    (In case of legacy session requests which don't have JSON-LD tags, the
    previous unmarshaling mechanism is still used.)
    d3cfebc5