Edit

Share via


NSUrlRequest.Item[String] Property

Definition

Gets the value of the specified HTTP header.

public string this[string key] { get; }
member this.Item(string) : string

Parameters

key
String

HTTP Header Name.

Property Value

Remarks

void DumpLenght (NSUrlRequest request)
{
    Console.WriteLine ("The content lenght is: {0}", request ["Content-Length"]);
}

Applies to