public void Stream(IQuarkNetworkStreamGeneric stream) { if (stream is IQuarkNetworkStreamResponse) { IQuarkNetworkStreamResponse _stream = stream as IQuarkNetworkStreamResponse; Response(_stream.StreamResponseDTO, stream.URL, _stream.StreamResponse); } if (stream is IQuarkNetworkStreamEvent) { IQuarkNetworkStreamEvent _stream = stream as IQuarkNetworkStreamEvent; Event(_stream.StreamEventDTO, stream.URL, _stream.StreamEvent); } }
public void Stream(IQuarkNetworkStreamGeneric stream) { ClientStream.Stream(stream); }