HttpHandler

Trait HttpHandler 

Source
pub trait HttpHandler {
    // Required methods
    fn server_sdk_toggles<'life0, 'async_trait>(
        &'life0 self,
        __arg1: TypedHeader<SdkAuthorization>,
    ) -> Pin<Box<dyn Future<Output = Result<Response, FPServerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn client_sdk_toggles<'life0, 'async_trait>(
        &'life0 self,
        __arg1: Query<ClientParams>,
        __arg2: TypedHeader<SdkAuthorization>,
    ) -> Pin<Box<dyn Future<Output = Result<Response, FPServerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn client_sdk_events<'life0, 'async_trait>(
        &'life0 self,
        __arg1: TypedHeader<SdkAuthorization>,
    ) -> Pin<Box<dyn Future<Output = Result<Response, FPServerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_toggles<'life0, 'async_trait>(
        &'life0 self,
        __arg1: Json<ToggleUpdateParams>,
    ) -> Pin<Box<dyn Future<Output = Result<Response, FPServerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn all_secrets<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Json<HashMap<String, String>>, FPServerError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn server_sdk_toggles<'life0, 'async_trait>( &'life0 self, __arg1: TypedHeader<SdkAuthorization>, ) -> Pin<Box<dyn Future<Output = Result<Response, FPServerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn client_sdk_toggles<'life0, 'async_trait>( &'life0 self, __arg1: Query<ClientParams>, __arg2: TypedHeader<SdkAuthorization>, ) -> Pin<Box<dyn Future<Output = Result<Response, FPServerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn client_sdk_events<'life0, 'async_trait>( &'life0 self, __arg1: TypedHeader<SdkAuthorization>, ) -> Pin<Box<dyn Future<Output = Result<Response, FPServerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn update_toggles<'life0, 'async_trait>( &'life0 self, __arg1: Json<ToggleUpdateParams>, ) -> Pin<Box<dyn Future<Output = Result<Response, FPServerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn all_secrets<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Json<HashMap<String, String>>, FPServerError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§