// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #pragma once #include "pplx/pplxtasks.h" #include "cpprest/base_uri.h" namespace signalr { class websocket_client { public: virtual pplx::task connect(const web::uri &url) = 0; virtual pplx::task send(const utility::string_t &message) = 0; virtual pplx::task receive() = 0; virtual pplx::task close() = 0; virtual ~websocket_client() {}; }; }