send() — vite Function Reference
Architecture documentation for the send() function in hmr.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 35fc37bd_c261_5995_72bc_7f84d707de44["send()"] 59034bde_6f4e_fe6a_b2ce_a002a0aa10b4["HMRClient"] 35fc37bd_c261_5995_72bc_7f84d707de44 -->|defined in| 59034bde_6f4e_fe6a_b2ce_a002a0aa10b4 6cbd2953_6c7a_3620_4afe_54813dab91b1["send()"] 6cbd2953_6c7a_3620_4afe_54813dab91b1 -->|calls| 35fc37bd_c261_5995_72bc_7f84d707de44 7dcdb86c_d822_bbd2_a092_4494c22c6bea["transport()"] 7dcdb86c_d822_bbd2_a092_4494c22c6bea -->|calls| 35fc37bd_c261_5995_72bc_7f84d707de44 bc5cfd91_74bd_961d_587c_0c6fa8a1880f["wrappedSocket.send()"] bc5cfd91_74bd_961d_587c_0c6fa8a1880f -->|calls| 35fc37bd_c261_5995_72bc_7f84d707de44 6cbd2953_6c7a_3620_4afe_54813dab91b1["send()"] 35fc37bd_c261_5995_72bc_7f84d707de44 -->|calls| 6cbd2953_6c7a_3620_4afe_54813dab91b1 style 35fc37bd_c261_5995_72bc_7f84d707de44 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/shared/hmr.ts lines 198–202
public send(payload: HotPayload): void {
this.transport.send(payload).catch((err) => {
this.logger.error(err)
})
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does send() do?
send() is a function in the vite codebase, defined in packages/vite/src/shared/hmr.ts.
Where is send() defined?
send() is defined in packages/vite/src/shared/hmr.ts at line 198.
What does send() call?
send() calls 1 function(s): send.
What calls send()?
send() is called by 3 function(s): send, transport, wrappedSocket.send.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free