DWHttpServerConnection Class Reference
Inherits from | NSObject |
---|---|
Declared in | DWHttpServerConnection.h DWHttpServerConnection.m |
Other Methods
– initWithSocketNativeHandle:
初始化 该类用来处理与 drmServer 建立的连接的所有事项。
- (id)initWithSocketNativeHandle:(CFSocketNativeHandle)nativeHandler
Parameters
nativeHandler |
drmServer accept的文件描述符。 |
---|
Return Value
DWHttpServerConnection
Discussion
初始化 该类用来处理与 drmServer 建立的连接的所有事项。
Declared In
DWHttpServerConnection.h
Other Methods
finishBlock
当connection结束时被调用。
@property (copy, nonatomic) DWHttpServerConnectionFinishBlock finishBlock
Discussion
当connection结束时被调用。
Declared In
DWHttpServerConnection.h
Extension Methods
videoUrl
视频的播放url,从 requestUrl 分析得出。
@property (strong, nonatomic) NSURL *videoUrl
Discussion
视频的播放url,从 requestUrl 分析得出。
Declared In
DWHttpServerConnection.m
requestUrl
requestUrl 格式:http://127.0.0.1:port/pcm?url=xxx
@property (strong, nonatomic) NSURL *requestUrl
Declared In
DWHttpServerConnection.m
totalBytesReceived
从 proxy 接收到的总字节数。
@property (assign, nonatomic) NSInteger totalBytesReceived
Discussion
从 proxy 接收到的总字节数。
Declared In
DWHttpServerConnection.m
totalBytesWritten
发送给 client 的总字节数。
@property (assign, nonatomic) NSInteger totalBytesWritten
Discussion
发送给 client 的总字节数。
Declared In
DWHttpServerConnection.m