
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@conclurer/web-socket
Advanced tools
This module includes `WebSocketProvider` which is used to handle web socket connections between Edelog and a server.
This module includes WebSocketProvider which is used to handle web socket connections between Edelog and a server.
To use this module and WebSocketProvider you have to provide a custom implementation of WebSocketProvider like this:
import {NgModule} from '@angular/core';
import {WebSocketProvider} from '@conclurer/web-socket';
@NgModule({
providers: [
{provide: WebSocketProvider, useClass: YourImplementation},
],
})
export class YourModule {
}
This module includes a default provider for web sockets that works with Rails's ActionCable framework.
You can use the default provider like this:
import {NgModule} from '@angular/core';
import {WebSocketModule} from '@conclurer/web-socket';
@NgModule({
imports: [
WebSocketModule.withDefaultProviders(),
],
})
export class YourModule {
}
To stream data, you can use the stream function of WebSocketProvider:
import {Component, OnInit} from '@angular/core';
import {WebSocketProvider} from '@conclurer/web-socket';
@Component()
export class YourComponent implements OnInit {
constructor(
private readonly socket: WebSocketProvider,
) {
}
public ngOnInit() {
const channel = this.socket.channel('your-channel-name');
// Subscribe to incoming messages
channel.incomingMessage$.subscribe(message => {
console.log('INCOMING MESSAGE:', message);
});
// Push messages to channel
channel.push('your-message', {optional: 'data'});
}
}
FAQs
This module includes `WebSocketProvider` which is used to handle web socket connections between Edelog and a server.
We found that @conclurer/web-socket demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.

Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.

Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.