Skip to main content

ViteBody

Type Alias ViteBody 

Source
pub type ViteBody<B> = Either<Incoming, B>;
Expand description

The response body of a ViteProxy: Vite’s or the app’s.

Aliased Type§

pub enum ViteBody<B> {
    Left(Incoming),
    Right(B),
}

Variants§

§

Left(Incoming)

A value of type L

§

Right(B)

A value of type R