SDL_rwhttp

Hi.

If anyone is interested - i’ve just put a small RWops extension on
github that allows you to load files from the web. Currently an async
mode is not really supported - but it’s planned.

Regards
Martin

Hi.

If anyone is interested - i’ve just put a small RWops extension on github
that allows you to load files from the web. Currently an async mode is not
really supported - but it’s planned.

https://github.com/mgerhardy/**SDL_rwhttphttps://github.com/mgerhardy/SDL_rwhttp

Regards
Martin

Hey this seems quite nice!
Are you interested in implementing a similar functionality to PhysFS by any
chance?

VittorioOn Thu, Jul 18, 2013 at 3:28 PM, Martin Gerhardy <martin.gerhardy at gmail.com>wrote:

Hi.

If anyone is interested - i've just put a small RWops extension on
github that allows you to load files from the web. Currently an
async mode is not really supported - but it's planned.

https://github.com/mgerhardy/SDL_rwhttp

Regards
Martin

Hey this seems quite nice!
Are you interested in implementing a similar functionality to PhysFS
by any chance?

Vittorio

I’m sorry, I don’t think so.

I will try to extend this over time to implement a async interface and
maybe add support for more curl-like libs.

MartinAm 18.07.2013 17:27, schrieb Vittorio Giovara:

On Thu, Jul 18, 2013 at 3:28 PM, Martin Gerhardy <@Martin_Gerhardy mailto:Martin_Gerhardy> wrote:

This would probably work with the PHYSFSRWOPS extra anyhow, right?
SDL_RWops is the more generic interface, so I’m glad it was done this way
instead of the other way around.

Jonny DOn Thu, Jul 18, 2013 at 12:15 PM, Martin Gerhardy <martin.gerhardy at gmail.com wrote:

Am 18.07.2013 17:27, schrieb Vittorio Giovara:

On Thu, Jul 18, 2013 at 3:28 PM, Martin Gerhardy < martin.gerhardy at gmail.com> wrote:

Hi.

If anyone is interested - i’ve just put a small RWops extension on github
that allows you to load files from the web. Currently an async mode is not
really supported - but it’s planned.

https://github.com/mgerhardy/SDL_rwhttp

Regards
Martin

Hey this seems quite nice!
Are you interested in implementing a similar functionality to PhysFS by
any chance?

Vittorio

I’m sorry, I don’t think so.

I will try to extend this over time to implement a async interface and
maybe add support for more curl-like libs.

Martin


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

PHYSFSRWOPS only makes PHYSFS_Files look like a RWOPS, not the other way
around.

(but the dev branch can do this with PHYSFS_Io, and probably use most of
the SDL_rwhttp with a little modification.)

–ryan.On 7/19/13 9:54 AM, Jonathan Dearborn wrote:

This would probably work with the PHYSFSRWOPS extra anyhow, right?
SDL_RWops is the more generic interface, so I’m glad it was done this
way instead of the other way around.

Hi Martin,

I really like the simple design of this. Good job!

-AlexOn Thu, Jul 18, 2013 at 9:28 AM, Martin Gerhardy <martin.gerhardy at gmail.com>wrote:

Hi.

If anyone is interested - i’ve just put a small RWops extension on github
that allows you to load files from the web. Currently an async mode is not
really supported - but it’s planned.

https://github.com/mgerhardy/**SDL_rwhttphttps://github.com/mgerhardy/SDL_rwhttp

Regards
Martin
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

“PHYSFSRWOPS only makes PHYSFS_Files look like a RWOPS, not the other way
around.”

Oh right, I’m just being silly.

Jonny D

Hi.

Just to let you know. There is a new version ready at github which
supports SDL_net for fetching from an URL. So libcurl is no longer
mandatory.

If anyone is using the lib, please send feedback and/or problems.

Regards
Martin