Index: mojo/dart/packages/mojo_services/lib/mojo/http_connection.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/http_connection.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/http_connection.mojom.dart |
index e209d65d34af4e80204e7bb924620328927a11d5..d5db850bd4a801e212391fa7185341b67c82f40b 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/http_connection.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/http_connection.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/bindings/types/mojom_types.mojom.dart' as mojom_types; |
+import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer; |
import 'package:mojo/mojo/network_error.mojom.dart' as network_error_mojom; |
import 'package:mojo_services/mojo/http_message.mojom.dart' as http_message_mojom; |
import 'package:mojo_services/mojo/web_socket.mojom.dart' as web_socket_mojom; |
@@ -81,6 +83,8 @@ class _HttpConnectionSetSendBufferSizeParams extends bindings.Struct { |
} |
+ |
+ |
class HttpConnectionSetSendBufferSizeResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -149,6 +153,8 @@ class HttpConnectionSetSendBufferSizeResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _HttpConnectionSetReceiveBufferSizeParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -216,6 +222,8 @@ class _HttpConnectionSetReceiveBufferSizeParams extends bindings.Struct { |
} |
+ |
+ |
class HttpConnectionSetReceiveBufferSizeResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -284,6 +292,8 @@ class HttpConnectionSetReceiveBufferSizeResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _HttpConnectionDelegateOnReceivedRequestParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -351,6 +361,8 @@ class _HttpConnectionDelegateOnReceivedRequestParams extends bindings.Struct { |
} |
+ |
+ |
class HttpConnectionDelegateOnReceivedRequestResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -418,6 +430,8 @@ class HttpConnectionDelegateOnReceivedRequestResponseParams extends bindings.Str |
} |
+ |
+ |
class _HttpConnectionDelegateOnReceivedWebSocketRequestParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -485,6 +499,8 @@ class _HttpConnectionDelegateOnReceivedWebSocketRequestParams extends bindings.S |
} |
+ |
+ |
class HttpConnectionDelegateOnReceivedWebSocketRequestResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -566,9 +582,22 @@ class HttpConnectionDelegateOnReceivedWebSocketRequestResponseParams extends bin |
} |
} |
+ |
+ |
+ |
const int _HttpConnection_setSendBufferSizeName = 0; |
const int _HttpConnection_setReceiveBufferSizeName = 1; |
+ |
+ |
+class _HttpConnectionServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class HttpConnection { |
static const String serviceName = null; |
dynamic setSendBufferSize(int size,[Function responseFactory = null]); |
@@ -591,6 +620,9 @@ class _HttpConnectionProxyImpl extends bindings.Proxy { |
return new _HttpConnectionProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _HttpConnectionServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _HttpConnection_setSendBufferSizeName: |
@@ -832,11 +864,24 @@ class HttpConnectionStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _HttpConnectionServiceDescription(); |
} |
const int _HttpConnectionDelegate_onReceivedRequestName = 0; |
const int _HttpConnectionDelegate_onReceivedWebSocketRequestName = 1; |
+ |
+ |
+class _HttpConnectionDelegateServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class HttpConnectionDelegate { |
static const String serviceName = null; |
dynamic onReceivedRequest(http_message_mojom.HttpRequest request,[Function responseFactory = null]); |
@@ -859,6 +904,9 @@ class _HttpConnectionDelegateProxyImpl extends bindings.Proxy { |
return new _HttpConnectionDelegateProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _HttpConnectionDelegateServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _HttpConnectionDelegate_onReceivedRequestName: |
@@ -1102,6 +1150,10 @@ class HttpConnectionDelegateStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _HttpConnectionDelegateServiceDescription(); |
} |
+ |