Websocket connection- libcurl

Hello everyone,
I get this error every time that I run my project, and I don’t know how should I fix it, Can you help me with this?
I am using mac and I tried it on Windows also but still get these errors

Curl error 1: Protocol “ws” not supported or disabled in libcurl

also I get this error,

DllNotFoundException: UnityOpenXR
UnityEngine.XR.OpenXR.OpenXRLoaderBase.Initialize () (at Library/PackageCache/com.unity.xr.openxr@1.7.0/Runtime/OpenXRLoader.cs:177)
UnityEngine.XR.Management.XRManagerSettings.InitializeLoaderSync () (at Library/PackageCache/com.unity.xr.management@4.2.1/Runtime/XRManagerSettings.cs:190)
UnityEngine.XR.Management.XRGeneralSettings.InitXRSDK () (at Library/PackageCache/com.unity.xr.management@4.2.1/Runtime/XRGeneralSettings.cs:175)
UnityEngine.XR.Management.XRGeneralSettings.AttemptInitializeXRSDKOnLoad () (at Library/PackageCache/com.unity.xr.management@4.2.1/Runtime/XRGeneralSettings.cs:148

Are you developing an XR application? If not, try disabling XR module in Package Manager. Is your aim to run and build for the Web platform?

I’m developing an XR application and would like to implement WebSocket streaming within it. The application will be designed to run on the Meta Quest 2

Unfortunately we don’t have first-party support for XR on Web, but there should be third-party solutions: Unity - Manual: XR packages

I think using the regular libcurl for WebSocket streaming probably will not work because it is not possible to directly access OS network APIs on the Web. You will need to use the browser WebSocket API instead.
You can either manually write a JS plugin for that, use a port of libcurl that is compatible with WebAssembly(For example libcurl.js), or use a 3rd party Unity package for WebSocket in Unity Web.