Menu

Day 16: JSON-RPC 2.0: Protocol Choice and the Request Pipeline
πŸ“°

Day 16: JSON-RPC 2.0: Protocol Choice and the Request Pipeline

DEV Community: dotnetΒ·Jeff TsaiΒ·7 days ago
#LEQdBIiD
#devtodotnet#devto#dev#method#string
Reading 0:00
15s threshold

The previous post, API Contract Layering and the Type Registry , was about how the framework knows which type to build once a call arrives. The question one step earlier is what that call itself looks like. A system with a thousand forms has thousands of methods to expose, and the vast majority of them are the same set of actions applied to different forms. What the protocol has to decide is how they are addressed, how parameters travel, and how failure is reported.

The framework's answer is one POST endpoint, one method string, and one pipeline in a fixed order.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.