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({Input<bool>? fullyDecodeReservedExpansion, Input<List<HttpRule>>? rules})
Creates a new Http. fullyDecodeReservedExpansion 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. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. rules A list of HTTP configuration rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
const
Http.fromMap(Map<String, dynamic> map)
factory

Properties

fullyDecodeReservedExpansion → Input<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. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.
final
hashCode → int
The hash code for this object.
no setterinherited
rules → Input<List<HttpRule>>?
A list of HTTP configuration rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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