WSStreamRequestHelper
io.cequence.openaiscala.service.impl.WSStreamRequestHelper
Stream request support specifically tailored for OpenAI API.
Attributes
- Since:
Feb 2023
- Graph
- Supertypes
- trait WSRequestExtHelpertrait WSRequestHelpertrait WSHelperclass Objecttrait Matchableclass Any
Members list
Concise view
Type members
Inherited types
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Value members
Concrete methods
protected def execJsonStreamAux(endPoint: PEP, method: String, endPointParam: Option[String], params: Seq[(PT, Option[Any])], bodyParams: Seq[(PT, Option[JsValue])])(implicit materializer: Materializer): Source[JsValue, NotUsed]
protected def execStreamRequestAux[T](endPoint: PEP, method: String, endPointParam: Option[String], params: Seq[(PT, Option[Any])], bodyParams: Seq[(PT, Option[JsValue])], framing: Flow[ByteString, ByteString, NotUsed], recoverBlock: PartialFunction[Throwable, T])(implicit um: Unmarshaller[ByteString, T], materializer: Materializer): Source[T, NotUsed]
Inherited methods
Attributes
- Inherited from:
- WSHelper
Attributes
- Inherited from:
- WSRequestHelper
protected def execDELETE(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])]): Future[JsValue]
Attributes
- Inherited from:
- WSRequestHelper
protected def execDELETEWithStatus(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], acceptableStatusCodes: Seq[Int]): Future[RichJsResponse]
Attributes
- Inherited from:
- WSRequestHelper
protected def execGET(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])]): Future[JsValue]
Attributes
- Inherited from:
- WSRequestHelper
protected def execGETJsonAux(request: StandaloneWSRequest, endPointForLogging: Option[PEP], acceptableStatusCodes: Seq[Int]): Future[RichJsResponse]
Attributes
- Inherited from:
- WSRequestHelper
protected def execGETStringAux(request: StandaloneWSRequest, endPointForLogging: Option[PEP], acceptableStatusCodes: Seq[Int]): Future[RichStringResponse]
Attributes
- Inherited from:
- WSRequestHelper
protected def execGETWithStatus(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], acceptableStatusCodes: Seq[Int]): Future[RichJsResponse]
Attributes
- Inherited from:
- WSRequestHelper
protected def execPOST(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], bodyParams: Seq[(PT, Option[JsValue])]): Future[JsValue]
Attributes
- Inherited from:
- WSRequestHelper
protected def execPOSTJsonAux[T : BodyWritable](request: StandaloneWSRequest, body: T, endPointForLogging: Option[PEP], acceptableStatusCodes: Seq[Int]): Future[RichJsResponse]
Attributes
- Inherited from:
- WSRequestHelper
protected def execPOSTMultipart(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], fileParams: Seq[(PT, File, Option[String])], bodyParams: Seq[(PT, Option[Any])]): Future[JsValue]
Attributes
- fileParams
the third param in a tuple is a display (header) file name
- Inherited from:
- WSRequestHelper
protected def execPOSTMultipartWithStatus(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], fileParams: Seq[(PT, File, Option[String])], bodyParams: Seq[(PT, Option[Any])], acceptableStatusCodes: Seq[Int]): Future[RichJsResponse]
Attributes
- fileParams
the third param in a tuple is a display (header) file name
- Inherited from:
- WSRequestHelper
protected def execPOSTMultipartWithStatusString(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], fileParams: Seq[(PT, File, Option[String])], bodyParams: Seq[(PT, Option[Any])], acceptableStatusCodes: Seq[Int]): Future[RichStringResponse]
Attributes
- fileParams
the third param in a tuple is a display (header) file name
- Inherited from:
- WSRequestHelper
protected def execPOSTSource(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], bodyParams: Seq[(PT, Option[JsValue])]): Future[Source[ByteString, _]]
Attributes
- Inherited from:
- WSRequestHelper
protected def execPOSTSourceAux[T : BodyWritable](request: StandaloneWSRequest, body: T, endPointForLogging: Option[PEP], acceptableStatusCodes: Seq[Int]): Future[RichSourceResponse]
Attributes
- Inherited from:
- WSRequestHelper
protected def execPOSTSourceWithStatus(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], bodyParams: Seq[(PT, Option[JsValue])], acceptableStatusCodes: Seq[Int]): Future[RichSourceResponse]
Attributes
- Inherited from:
- WSRequestHelper
protected def execPOSTStringAux[T : BodyWritable](request: StandaloneWSRequest, body: T, endPointForLogging: Option[PEP], acceptableStatusCodes: Seq[Int]): Future[RichStringResponse]
Attributes
- Inherited from:
- WSRequestHelper
protected def execPOSTWithStatus(endPoint: PEP, endPointParam: Option[String], params: Seq[(PT, Option[Any])], bodyParams: Seq[(PT, Option[JsValue])], acceptableStatusCodes: Seq[Int]): Future[RichJsResponse]
Attributes
- Inherited from:
- WSRequestHelper
override protected def getWSRequest(endPoint: Option[PEP], endPointParam: Option[String], params: Seq[(String, Any)]): Self
Attributes
- Definition Classes
- WSRequestExtHelper -> WSRequestHelper
- Inherited from:
- WSRequestExtHelper
override protected def getWSRequestOptional(endPoint: Option[PEP], endPointParam: Option[String], params: Seq[(String, Option[Any])]): Self
Attributes
- Definition Classes
- WSRequestExtHelper -> WSRequestHelper
- Inherited from:
- WSRequestExtHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Definition Classes
- WSRequestExtHelper -> WSHelper
- Inherited from:
- WSRequestExtHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestHelper
Inherited fields
Attributes
- Inherited from:
- WSRequestExtHelper
Attributes
- Inherited from:
- WSHelper
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSRequestExtHelper
Attributes
- Inherited from:
- WSRequestExtHelper
Attributes
- Inherited from:
- WSRequestExtHelper
Attributes
- Inherited from:
- WSRequestExtHelper
Attributes
- Inherited from:
- WSRequestHelper
Implicits
Inherited implicits
Attributes
- Inherited from:
- WSRequestHelper
Attributes
- Inherited from:
- WSHelper