Skip to content

Type map for each language - HTTP headers? #15

Description

@ORESoftware

Pass the type as a string via an HTTP header

The decoder side of the request/response cycle, decodes the JSON according to the type in the header

'x-body-type': 'BasicReq'

you would store BasicReq in a map of <string,Class> or <string,struct>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions