Function deno_fetch::init [−][src]
pub fn init<FP, FH>(
user_agent: String,
root_cert_store: Option<RootCertStore>,
proxy: Option<Proxy>,
request_builder_hook: Option<fn(_: RequestBuilder) -> RequestBuilder>,
unsafely_ignore_certificate_errors: Option<Vec<String>>,
client_cert_chain_and_key: Option<(String, String)>,
file_fetch_handler: FH
) -> Extension where
FP: FetchPermissions + 'static,
FH: FetchHandler + 'static,