You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is taken straight from the documentation and it appears that map is not a valid method on a request, which seems silly, but there it is! Maybe it has to do with how I compiled the project (See #33)?
valclient= featherbed.Client(newURL("http://localhost:8888/"))
// client: featherbed.Client = featherbed.Client@4a02fb3cvalreq= client.get("")
// req: client.GetRequest[shapeless.:+:[String("*/*"),shapeless.CNil]] = GetRequest(http://localhost:8888/,List(),UTF-8)valresult=Await.result { req map { r => r.contentString } }
// <console>:15: error: value map is not a member of client.GetRequest[shapeless.:+:[String("*/*"),shapeless.CNil]]// val result = Await.result { req map { r => r.contentString } }// ^
The text was updated successfully, but these errors were encountered:
I see now I was working with a newer version than the published docs are. The docs in the repo != docs on the web, but they still run into this same map missing error.
This is taken straight from the documentation and it appears that
map
is not a valid method on a request, which seems silly, but there it is! Maybe it has to do with how I compiled the project (See #33)?The text was updated successfully, but these errors were encountered: