.net core 值或构造函数';与subtocol'握手;未在websocket示例中定义
我正在使用.NETCore2.0。我创建了一个F#控制台应用程序。在Program.fs中,我将 除第84行外,所有内容都可以编译:.net core 值或构造函数';与subtocol'握手;未在websocket示例中定义,.net-core,suave,.net Core,Suave,我正在使用.NETCore2.0。我创建了一个F#控制台应用程序。在Program.fs中,我将 除第84行外,所有内容都可以编译: path "/websocketWithSubprotocol" >=> handShakeWithSubprotocol (chooseSubprotocol "test") ws 我得到这个错误 error FS0039: The value or constructor 'handShakeWithSubprotocol' is not def
path "/websocketWithSubprotocol" >=> handShakeWithSubprotocol (chooseSubprotocol "test") ws
我得到这个错误
error FS0039: The value or constructor 'handShakeWithSubprotocol' is not defined. Maybe you want one of the following:↔ handShakeResponse↔ handShake
我搜索了Suave的源代码,找到了。所以我认为这应该是可以访问的,但是编译器不这么认为
出了什么问题
你可以看到我所有的代码。我想我已经明白了
handshakeWithSubtocol
不在我正在使用的Suave版本V2.2.1中
,但有一个pull请求说它可能会进入2.3.0