Socket filter
See original GitHub issueHi,
Feathers server has the option to filter channels dynamically. FeathersVuex should have this option too, instead of forcing the api to persist the filter rules and the client to “ask” for those events, the client could discard the undesired events.
what about allow the enableEvents
prop receive a boolean or a map?
enableEvents = boolean (yes or no for all methods)
or
enableEvents = {
create: function or boolean,
update: function or boolean,
patch: function or boolean,
remove: function or boolean
}
The function returns a boolean indicating dinamically if the client want to store that record locally.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
What Are Socket Filters and What Do They Do?
A socket filter is a means to listen to a particular network socket and communicate with an application. In Cisco AnyConnect's case, ...
Read more >Socket Filters - Apple Developer
A socket filter is a filter associated with a particular socket, as shown in Figure 4-1. These extensions can filter inbound or outbound ......
Read more >VPN, Cisco AnyConnect Socket Filter for Mac OS Big Sur and ...
AnyConnect uses a network system extension on macOS 11, bundled into an application named Cisco AnyConnect Socket Filter.
Read more >Definition of socket filter - PCMag
A packet filter that is associated with a particular TCP/IP socket. See packet filter and TCP/IP socket. Advertisement ...
Read more >Linux Socket Filtering aka Berkeley Packet Filter (BPF)
BPF allows a user-space program to attach a filter onto any socket and allow or disallow certain types of data to come through...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This has been released in
feathers-vuex@3.1.0
. Thanks @barata0 for the great idea!Read more about it in the docs: https://vuex.feathersjs.com/service-plugin.html#service-events
Awesome!