
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.
hc-capacitor-udp
Advanced tools
capacitor udp
npm install hc-capacitor-udp
npx cap sync
create(...)
update(...)
setPaused(...)
bind(...)
send(...)
closeAllSockets()
close(...)
getInfo(...)
getSockets()
joinGroup(...)
leaveGroup(...)
setMulticastTimeToLive(...)
setBroadcast(...)
setMulticastLoopbackMode(...)
getJoinedGroups()
addListener('receive', ...)
addListener('receiveError', ...)
create(options?: { properties?: { name?: string | undefined; bufferSize?: number | undefined; } | undefined; } | undefined) => Promise<{ socketId: number; ipv4: string; ipv6: string; }>
Param | Type |
---|---|
options | { properties?: { name?: string; bufferSize?: number; }; } |
Returns: Promise<{ socketId: number; ipv4: string; ipv6: string; }>
update(options: { socketId: number; properties: { name?: string; bufferSize?: number; }; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; properties: { name?: string; bufferSize?: number; }; } |
Returns: Promise<any>
setPaused(options: { socketId: number; paused: boolean; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; paused: boolean; } |
Returns: Promise<any>
bind(options: { socketId: number; address: string; port: number; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; address: string; port: number; } |
Returns: Promise<any>
send(options: { socketId: number; address: string; port: number; buffer: string; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; address: string; port: number; buffer: string; } |
Returns: Promise<any>
closeAllSockets() => Promise<any>
Returns: Promise<any>
close(options: { socketId: number; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; } |
Returns: Promise<any>
getInfo(options: { socketId: number; }) => Promise<{ socketId: number; bufferSize: number; name: string | null; paused: boolean; localAddress?: string; localPort?: number; }>
Param | Type |
---|---|
options | { socketId: number; } |
Returns: Promise<{ socketId: number; bufferSize: number; name: string | null; paused: boolean; localAddress?: string; localPort?: number; }>
getSockets() => Promise<{ sockets: [{ socketId: number; bufferSize: number; name: string | null; paused: boolean; localAddress?: string; localPort?: number; }]; }>
Returns: Promise<{ sockets: [{ socketId: number; bufferSize: number; name: string | null; paused: boolean; localAddress?: string; localPort?: number; }]; }>
joinGroup(options: { socketId: number; address: string; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; address: string; } |
Returns: Promise<any>
leaveGroup(options: { socketId: number; address: string; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; address: string; } |
Returns: Promise<any>
setMulticastTimeToLive(options: { socketId: number; ttl: number; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; ttl: number; } |
Returns: Promise<any>
setBroadcast(options: { socketId: number; enabled: boolean; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; enabled: boolean; } |
Returns: Promise<any>
setMulticastLoopbackMode(options: { socketId: number; enabled: boolean; }) => Promise<any>
Param | Type |
---|---|
options | { socketId: number; enabled: boolean; } |
Returns: Promise<any>
getJoinedGroups() => Promise<{ groups: [string]; }>
Returns: Promise<{ groups: [string]; }>
addListener(events: "receive", functions: (params: { socketId: number; buffer: string; }) => void) => PluginListenerHandle
Param | Type |
---|---|
events | 'receive' |
functions | (params: { socketId: number; buffer: string; }) => void |
Returns: PluginListenerHandle
addListener(events: "receiveError", functions: (params: string) => void) => PluginListenerHandle
Param | Type |
---|---|
events | 'receiveError' |
functions | (params: string) => void |
Returns: PluginListenerHandle
Prop | Type |
---|---|
remove | () => Promise<void> |
FAQs
capacitor udp
The npm package hc-capacitor-udp receives a total of 3 weekly downloads. As such, hc-capacitor-udp popularity was classified as not popular.
We found that hc-capacitor-udp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.