BlackPine WebSockets Server
We provide fast and extremely reliable WebSockets Server. It acts as a bridge between your client-side app and server-side back-end. Write and run you app without need to maintain WebSockets server. Turn any shared hosting into powerful server application.
Your server
const wsUri = "ws://blackpine-ws.com:12345/";
const websocket = new WebSocket(wsUri);
websocket.addEventListener("message", (event) => {
alert(event.data); // shows: Hello World!
});
class MyApp extends ServerApp {
public function onClientConnect(Client $client, Response $response): void {
$response->sendMessage($client->getId(), 'Hello World!');
}
}
$endpoint = new VanillaEndpoint();
$endpoint->handle(new MyApp());


BlackPine Server
Accepts multiple WebSocket clients. Immediately notifies your endpoint about any action. This is usually a connection established or a message sent. In the endpoint’s code you decide what further action should the server take. This is usually a message to specified client or a group of clients or all clients (broadcast).
With this simple architecture:
- Build WebSocket-powered applications on every kind of providers (especially: shared hosting)
- Reduce costs of server maintenance
- Focus on application
This is title
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here. This is just a demo text you…
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here. This is just a demo text you should…
This is title
Just a short sentence. This is just a demo text…
This is title
Just a short sentence. This is just a demo text…
This is title
Just a short sentence. This is just a demo text…
This is title
Just a short sentence. This is just a demo text…
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here. This is just a demo text you should overwrite. Write your own copy text here.…
Edward Hopper, Founder
This is title
Just a short sentence This is just a demo text you should overwrite
This is title text and it may be a bit long
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here.…
This is title
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here. This is just a demo text you should overwrite.…
Q: Write your own copy text here?
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here. This is…
Q: Write your own copy text here?
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here. This is…
Q: Write your own copy text here?
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here. This is…
Q: Write your own copy text here?
Just a short sentence. This is just a demo text you should overwrite. Write your own copy text here. This is…



