Http class

Defines the HTTP configuration for an API service.

It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.

Constructors

Http({bool? fullyDecodeReservedExpansion, List<HttpRule>? rules})
Http.fromJson(Map json_)

Properties

fullyDecodeReservedExpansion bool?
When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rules List<HttpRule>?
A list of HTTP configuration rules that apply to individual API methods.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited