編輯

共用方式為


CFHTTPStream Class

Definition

A CFReadStream that reads HTTP stream data.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'NSUrlSession'.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, "Use 'NSUrlSession'.")]
public class CFHTTPStream : CoreFoundation.CFReadStream
type CFHTTPStream = class
    inherit CFReadStream
Inheritance
Attributes

Properties

AttemptPersistentConnection
FinalURL
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from CFStream)
ReadDispatchQueue (Inherited from CFStream)
RequestBytesWrittenCount
ShouldAutoredirect
WriteDispatchQueue (Inherited from CFStream)

Methods

CheckError() (Inherited from CFStream)
CheckHandle() (Inherited from CFStream)
Close() (Inherited from CFStream)
Dispose()

Releases the resources used by the CFStream object.

(Inherited from CFStream)
Dispose(Boolean)

Releases the resources used by the CFStream object.

(Inherited from CFStream)
DoClose() (Inherited from CFReadStream)
DoGetProperty(NSString) (Inherited from CFReadStream)
DoGetStatus() (Inherited from CFReadStream)
DoOpen() (Inherited from CFReadStream)
DoSetClient(CFStream+CFStreamCallback, nint, IntPtr) (Inherited from CFReadStream)
DoSetProperty(NSString, INativeObject) (Inherited from CFReadStream)
EnableEvents(CFRunLoop, NSString) (Inherited from CFStream)
GetDescription(IntPtr)

Returns a textual representation of the specified object.

(Inherited from CFType)
GetError() (Inherited from CFReadStream)
GetFinalRequest()
GetResponseHeader()
GetStatus() (Inherited from CFStream)
HasBytesAvailable() (Inherited from CFReadStream)
OnCallback(CFStreamEventType) (Inherited from CFStream)
OnCanAcceptBytesEvent(CFStream+StreamEventArgs) (Inherited from CFStream)
OnClosedEvent(CFStream+StreamEventArgs) (Inherited from CFStream)
OnErrorEvent(CFStream+StreamEventArgs) (Inherited from CFStream)
OnHasBytesAvailableEvent(CFStream+StreamEventArgs) (Inherited from CFStream)
OnOpenCompleted(CFStream+StreamEventArgs) (Inherited from CFStream)
Open() (Inherited from CFStream)
Read(Byte[], Int32, Int32) (Inherited from CFReadStream)
Read(Byte[]) (Inherited from CFReadStream)
ScheduleWithRunLoop(CFRunLoop, NSString) (Inherited from CFReadStream)
SetProxy(CFProxySettings)
UnscheduleFromRunLoop(CFRunLoop, NSString) (Inherited from CFReadStream)

Events

CanAcceptBytesEvent (Inherited from CFStream)
ClosedEvent (Inherited from CFStream)
ErrorEvent (Inherited from CFStream)
HasBytesAvailableEvent (Inherited from CFStream)
OpenCompletedEvent (Inherited from CFStream)

Applies to