Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@casthub/echo-driver

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casthub/echo-driver

AWS API Gateway Driver for Laravel Echo

  • 1.0.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source
NPM Discord Apache-2.0

Echo Driver for AWS API Gateway

This is a Laravel Echo Driver for AWS API Gateway WebSockets, developed for use in CastHub.

Technically it would work for any custom WebSocket implementation that resembles the Pusher driver specification.

Usage

When creating a new Echo instance using laravel-echo, you can provide a custom driver. All you need to do is provide this package as that driver. For example:

import { Broadcaster } from '@casthub/echo-driver';

const echo = new Echo({
    broadcaster: 'pusher',
    client: new Broadcaster({
        host: 'wss://my-url',
    }),
});

The Driver follows the same specification as the Pusher Client, whilst still using Pusher as the broadcaster.

AWS

TODO:

Keywords

FAQs

Package last updated on 20 Mar 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc