external

package
v1.11.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HTTPStatusCode is an dapr http channel status code.
	HTTPStatusCode = "http.status_code"
)

Variables

This section is empty.

Functions

func CreateNonLocalChannel

CreateNonLocalChannel creates an HTTP AppChannel for external service invocation.

Types

type ChannelConfigurationForHTTPEndpoints

type ChannelConfigurationForHTTPEndpoints struct {
	Client               *http.Client
	CompStore            *compstore.ComponentStore
	MaxConcurrency       int
	Pipeline             httpMiddleware.Pipeline
	TracingSpec          config.TracingSpec
	MaxRequestBodySizeMB int
}

ChannelConfigurationForHTTPEndpoints is the configuration used to create an HTTP AppChannel for external service invocation.

type HTTPEndpointAppChannel

type HTTPEndpointAppChannel struct {
	// contains filtered or unexported fields
}

HTTPEndpointAppChannel is an HTTP implementation of an AppChannel.

func (*HTTPEndpointAppChannel) InvokeMethod

InvokeMethod invokes external http endpoint via HTTP.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL