pub struct SolanaGatewayBuilder { /* private fields */ }Expand description
Constrained builder for health, chain reads, and fixed transaction routes.
The final runtime plan is fixed when build or start is called. This
builder intentionally has no Spec, WebSocket, stack-query, program-read, or
live-runtime configuration surface.
Implementations§
Source§impl SolanaGatewayBuilder
impl SolanaGatewayBuilder
Sourcepub fn bind(self, addr: impl Into<SocketAddr>) -> Self
pub fn bind(self, addr: impl Into<SocketAddr>) -> Self
Set the gateway HTTP bind address.
Sourcepub fn auth_plugin(self, plugin: Arc<dyn WebSocketAuthPlugin>) -> Self
pub fn auth_plugin(self, plugin: Arc<dyn WebSocketAuthPlugin>) -> Self
Set the auth plugin for chain and transaction requests.
Sourcepub fn transactions_config(self, config: TransactionConfig) -> Self
pub fn transactions_config(self, config: TransactionConfig) -> Self
Configure the existing fixed /transactions/v1/* handlers.
Auto Trait Implementations§
impl !RefUnwindSafe for SolanaGatewayBuilder
impl !UnwindSafe for SolanaGatewayBuilder
impl Freeze for SolanaGatewayBuilder
impl Send for SolanaGatewayBuilder
impl Sync for SolanaGatewayBuilder
impl Unpin for SolanaGatewayBuilder
impl UnsafeUnpin for SolanaGatewayBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more