mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
remove external certs
This commit is contained in:
parent
4c9f689c3b
commit
453ec94772
10 changed files with 28 additions and 104 deletions
|
@ -224,7 +224,6 @@ impl EpoxyClient {
|
|||
#[wasm_bindgen(constructor)]
|
||||
pub fn new(
|
||||
wisp_url: String,
|
||||
certs: Array,
|
||||
options: EpoxyClientOptions,
|
||||
) -> Result<EpoxyClient, EpoxyError> {
|
||||
let wisp_url: Uri = wisp_url.try_into()?;
|
||||
|
@ -232,7 +231,7 @@ impl EpoxyClient {
|
|||
return Err(EpoxyError::InvalidUrlScheme);
|
||||
}
|
||||
|
||||
let stream_provider = Arc::new(StreamProvider::new(wisp_url.to_string(), certs, &options)?);
|
||||
let stream_provider = Arc::new(StreamProvider::new(wisp_url.to_string(), &options)?);
|
||||
|
||||
let service = StreamProviderService(stream_provider.clone());
|
||||
let client = Client::builder(WasmExecutor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue