Skip to content
#

cats

Here are 704 public repositories matching this topic...

raulraja
raulraja commented Jul 4, 2016

Authors and content exercise writers may request from the community to contribute new exercises.
To do so Exercises and sections can be flagged as incomplete with a request for help to complete and an appropriate message will be rendered in the UI as the user accesses the section or exercise.

Monocle
julien-truffaut
julien-truffaut commented Dec 16, 2016
java.lang.IllegalArgumentException: Argument not supported by ScalaTest-js: -C
	at org.scalatest.tools.ArgsParser$.parseArgs(ArgsParser.scala:191)
	at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:883)
	at org.scalatest.tools.Runner$.run(Runner.scala:850)
	at org.scalatest.tools.Runner.run(Runner.scala)
	at org.jetbrains.plugins.scala.testingSupport.scalaTest
adamw
adamw commented Feb 17, 2020

Currently websockets are unsupported:

class SttpBackendStub[F[_], S] private (
    monad: MonadError[F],
    matchers: PartialFunction[Request[_, _], F[Response[_]]],
    fallback: Option[SttpBackend[F, S, NothingT]]
) extends SttpBackend[F, S, NothingT] { // TODO

(note the TODO for the NothingT type parameter which specifies what kind of websockets are supported).

The bac

willgu-gdm
willgu-gdm commented Apr 25, 2020

I see that x-server-raw-response is available to expose the underlying to users, allowing deeper customization of response.

I was wondering if it's possible to expose a similar interface for request as well? So that we can utilize some predefined functions by akka-http. For example, extractClientIP.

Not a huge deal and is blocking anything, since we can simply replicate all these funct

DevonPeroutky
DevonPeroutky commented Nov 27, 2018

The docs make it pretty clear how to make a request and decode the entity of the HttpResponse:

  val response = Hammock
    .request(Method.GET, uri"https://api.fidesmo.com/apps", Map())
    .as[List[String]]
    .exec[IO]

And you can get the headers like:

  val response = Hammock
    .request(Method.GET, uri"https://api.fidesmo.com/apps", Map())
    .map(_.headers)
    .

Improve this page

Add a description, image, and links to the cats topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cats topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.