Class ProtoHttpOptionsResolver
Resolves the response and attachment options a protocol registered under its own key, so REST and GraphQL never share configuration even though they use the same base option types.
public static class ProtoHttpOptionsResolver
- Inheritance
-
ProtoHttpOptionsResolver
- Inherited Members
Methods
ResolveAttachmentOptions(ProtoExecutionContext, string)
Resolves the attachment options registered for protocolName, or
null when the protocol has not opted into attachment capture.
public static ProtoHttpAttachmentOptions? ResolveAttachmentOptions(this ProtoExecutionContext context, string protocolName)
Parameters
contextProtoExecutionContextprotocolNamestring
Returns
ResolveResponseOptions(ProtoExecutionContext, string)
Resolves the response options registered for protocolName, or defaults when
the protocol registered none.
public static ProtoHttpResponseOptions ResolveResponseOptions(this ProtoExecutionContext context, string protocolName)
Parameters
contextProtoExecutionContextprotocolNamestring