mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Add test for http basic handler
This commit is contained in:
parent
6bad973a7c
commit
fa362607b2
6 changed files with 161 additions and 28 deletions
|
@ -35,6 +35,8 @@
|
|||
#include <sys/uio.h>
|
||||
#endif
|
||||
|
||||
class SrsFileReader;
|
||||
|
||||
/**
|
||||
* file writer, to write to file.
|
||||
*/
|
||||
|
@ -73,6 +75,16 @@ public:
|
|||
virtual srs_error_t lseek(off_t offset, int whence, off_t* seeked);
|
||||
};
|
||||
|
||||
// The file reader factory.
|
||||
class ISrsFileReaderFactory
|
||||
{
|
||||
public:
|
||||
ISrsFileReaderFactory();
|
||||
virtual ~ISrsFileReaderFactory();
|
||||
public:
|
||||
virtual SrsFileReader* create_file_reader();
|
||||
};
|
||||
|
||||
/**
|
||||
* file reader, to read from file.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue