Scala Dispatch如何启用SNI

时间:2016-07-27 21:54:39

标签: scala scala-dispatch

我们有一个网站向服务器提出“获取”请求。我们现在已被告知我们需要在请求中添加SNI信息。我们使用Dispatch进行http调用。

如何在Dispatch中启用SNI?

斯卡拉:2.11.7
派遣:0.11.2

1 个答案:

答案 0 :(得分:1)

After investing half a day googling and trying a few things, we decided to switch to play ws which took less than an hour.

On a sidenote, dispatch is an ugly library. It has function calls that make it seem like the library was written three thousand years ago in Egypt.