| Index: mojo/dart/packages/mojo_services/lib/http_server/http_request.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/http_server/http_request.mojom.dart b/mojo/dart/packages/mojo_services/lib/http_server/http_request.mojom.dart
|
| index e3f54b27de944da45a356437c69ca42299a6cd15..cc3c071df51821349edc6bfb4e18fdc0296d4b66 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/http_server/http_request.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/http_server/http_request.mojom.dart
|
| @@ -8,6 +8,8 @@ import 'dart:async';
|
|
|
| import 'package:mojo/bindings.dart' as bindings;
|
| import 'package:mojo/core.dart' as core;
|
| +import 'package:mojo/mojo/mojom_types.mojom.dart' as mojom_types;
|
| +
|
|
|
|
|
|
|
| @@ -156,4 +158,70 @@ class HttpRequest extends bindings.Struct {
|
| }
|
| }
|
|
|
| +mojom_types.MojomStruct _http_request_HttpRequest__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'HttpRequest')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'RelativeUrl')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Method')
|
| + ..type = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Headers')
|
| + ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType()
|
| + ..nullable = true
|
| +
|
| + ..keyType = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false))
|
| + ..valueType = (new mojom_types.Type()
|
| +..stringType = (new mojom_types.StringType()..nullable = false)))),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Body')
|
| + ..type = (new mojom_types.Type()
|
| +..handleType = (new mojom_types.HandleType()
|
| +..kind = mojom_types.HandleTypeKind.DATA_PIPE_CONSUMER
|
| +..nullable = true)),
|
| + ];
|
| +}
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +var _MojomDesc__ = _initDescriptions();
|
| +
|
| +Map<String, mojom_types.UserDefinedType> _initDescriptions() {
|
| + var map = new Map<String, mojom_types.UserDefinedType>();
|
| +
|
| + map["_http_request_HttpRequest__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _http_request_HttpRequest__();
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| + return map;
|
| +}
|
| +
|
| +Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
|
| + return _MojomDesc__;
|
| +}
|
| +
|
|
|
|
|