package http

import (
	

	
)

type (
	hostnameImmutableKey struct{}
	hostPrefixDisableKey struct{}
)

// GetHostnameImmutable retrieves whether the endpoint hostname should be considered
// immutable or not.
//
// Scoped to stack values. Use middleware#ClearStackValues to clear all stack
// values.
func ( context.Context) ( bool) {
	, _ = middleware.GetStackValue(, hostnameImmutableKey{}).(bool)
	return 
}

// SetHostnameImmutable sets or modifies whether the request's endpoint hostname
// should be considered immutable or not.
//
// Scoped to stack values. Use middleware#ClearStackValues to clear all stack
// values.
func ( context.Context,  bool) context.Context {
	return middleware.WithStackValue(, hostnameImmutableKey{}, )
}

// IsEndpointHostPrefixDisabled retrieves whether the hostname prefixing is
// disabled.
//
// Scoped to stack values. Use middleware#ClearStackValues to clear all stack
// values.
func ( context.Context) ( bool) {
	, _ = middleware.GetStackValue(, hostPrefixDisableKey{}).(bool)
	return 
}

// DisableEndpointHostPrefix sets or modifies whether the request's endpoint host
// prefixing should be disabled. If value is true, endpoint host prefixing
// will be disabled.
//
// Scoped to stack values. Use middleware#ClearStackValues to clear all stack
// values.
func ( context.Context,  bool) context.Context {
	return middleware.WithStackValue(, hostPrefixDisableKey{}, )
}