Capabilities should work either way, I suppose, I had just lumped it
in there to make sure I remembered to set them, as at present they
absolutely must be set before first connecting, or there is no way to
change them. (See:
http://dev.aol.com/node/1284)
It helps me remember that when the hinting for the constructor pops up
with it, but I am notoriously lazy like that. =)
Could just as easily have the arrays themselves public and set them
manually, I see no reason why not, design decision I'll leave to you
guys.
Speaking of which, what sort of level of functionality are you looking
at putting into the library and what would be considered client
implemented features?
I'm working on a few things now that the DataIMs are in place, some
are obviously going to be for my client specifically but some could go
either way, such as basic file transfers, where are you looking to
draw the line?
On May 13, 2:31 am, "Osman Ullah" <
osman.ul...@gmail.com> wrote:
> Hey, take back the comment about base64. I was looking in the wrong
> place. :) Would still like to hear your thoughts on the
> assertCapabilities property.
>
> Thanks,
> Osman
>
> On Mon, May 12, 2008 at 2:19 PM, Osman Ullah <
osman.ul...@gmail.com> wrote:
> > Jay,
>
> > This all looks great! However, I have a couple suggestions:
>
> > I recommend we don't pass in capabilities as part of the constructor.
> > Instead, the client can set both assertCapabilities and
> > interestedCapabilities after creating the session. It looks like the
> > construct isn't dependant on the capabilities so this should work
> > fine.
>
> > Also, the url param for base64 encoding looks like it is
> > "dataIsBase64", not "base64Encoded". I'll change the url parameter,
> > but I'll keep the property name the same.
>
> > Does that sound ok to you?
>
> > Thanks,
> > Osman
>