HttpConfig

org.llm4s.toolapi.builtin.http.HttpConfig
See theHttpConfig companion class
object HttpConfig

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
HttpConfig.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def readOnly(allowedDomains: Option[Seq[String]], blockedDomains: Seq[String]): HttpConfig

Create a read-only configuration that only allows GET and HEAD requests.

Create a read-only configuration that only allows GET and HEAD requests.

Attributes

def restricted(allowedDomains: Seq[String]): HttpConfig

Create a restrictive configuration with explicit domain allowlist.

Create a restrictive configuration with explicit domain allowlist.

Attributes