struct ACP::Protocol::HttpHeader

Overview

HTTP header to set when making requests to an MCP server.

Included Modules

Defined in:

acp/protocol/capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, value : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def name : String #

The name of the HTTP header.


[View source]
def name=(name : String) #

The name of the HTTP header.


[View source]
def value : String #

The value to set for the HTTP header.


[View source]
def value=(value : String) #

The value to set for the HTTP header.


[View source]