// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import "mojo/services/public/interfaces/network/network_error.mojom"
+module mojo;
-module mojo {
+import "mojo/services/public/interfaces/network/network_error.mojom";
interface WebSocket {
enum MessageType {
// to send over the WebSocket should be written to the producer end of the
// |send_stream|.
Connect(string url,
- string[] protocols,
+ array<string> protocols,
string origin,
handle<data_pipe_consumer> send_stream,
WebSocketClient client);
// didFinishOpeningHandshake
// didStartClosingHandshake
};
-
-}