| Index: pkg/appengine/lib/api/remote_api.dart
|
| diff --git a/pkg/appengine/lib/api/remote_api.dart b/pkg/appengine/lib/api/remote_api.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..996780a3458be00397f8d7022de3d6b3351362b1
|
| --- /dev/null
|
| +++ b/pkg/appengine/lib/api/remote_api.dart
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +library appengine.api.remote_api;
|
| +
|
| +import 'dart:async';
|
| +import 'dart:io';
|
| +
|
| +@deprecated
|
| +abstract class RemoteApi {
|
| + // TODO: We might want to change this to (maybe with more information about
|
| + // request):
|
| + // Future<List<int>> handleRemoteApiRequest(List<int> data);
|
| +
|
| + /**
|
| + * Handles the RemoteApi [request].
|
| + *
|
| + * The user is responsible for ensuring that [request] is either a GET or a
|
| + * POST request. If an error occurs during the processing of [request] the
|
| + * returned future will complete with an error.
|
| + */
|
| + Future handleRemoteApiRequest(HttpRequest request);
|
| +}
|
|
|