ContextRule constructor

const ContextRule({
  1. Input<List<String>>? allowedRequestExtensions,
  2. Input<List<String>>? allowedResponseExtensions,
  3. Input<List<String>>? provided,
  4. Input<List<String>>? requested,
  5. Input<String>? selector,
})

Creates a new ContextRule. allowedRequestExtensions A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. allowedResponseExtensions A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. provided A list of full type names of provided contexts. requested A list of full type names of requested contexts. selector Selects the methods to which this rule applies. Refer to selector for syntax details.

Implementation

const ContextRule({
  this.allowedRequestExtensions,
  this.allowedResponseExtensions,
  this.provided,
  this.requested,
  this.selector,
});