Table of Contents

Class ServiceExposure

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

Registers a loopback HTTP service during sandbox creation.

public sealed record ServiceExposure : IEquatable<ServiceExposure>
Inheritance
ServiceExposure
Implements
Inherited Members

Constructors

ServiceExposure(string, uint, ServiceAuthorizationMode)

Registers a loopback HTTP service during sandbox creation.

public ServiceExposure(string Name, uint TargetPort, ServiceAuthorizationMode AuthorizationMode = ServiceAuthorizationMode.Unspecified)

Parameters

Name string

The service name.

TargetPort uint

The loopback port inside the sandbox.

AuthorizationMode ServiceAuthorizationMode

How the gateway treats the Authorization header toward the service.

Properties

AuthorizationMode

How the gateway treats the Authorization header toward the service.

public ServiceAuthorizationMode AuthorizationMode { get; init; }

Property Value

ServiceAuthorizationMode

Name

The service name.

public string Name { get; init; }

Property Value

string

TargetPort

The loopback port inside the sandbox.

public uint TargetPort { get; init; }

Property Value

uint