#266: harbor.input callbacks
----------------------------+-----------------------------------------------
  Reporter:  romeodeepmind  |       Owner:  toots      
      Type:  Feature        |      Status:  closed     
  Priority:  1              |   Milestone:  NEAR FUTURE
 Component:  Liquidsoap     |     Version:  0.9.0+svn  
Resolution:  fixed          |    Keywords:             
       Mac:  1              |       Linux:  1          
    Netbsd:  1              |       Other:  1          
   Freebsd:  1              |  
----------------------------+-----------------------------------------------

Comment(by romeodeepmind):

 i use
 {{{
 def conn(header)
    log("Live Start")
 end
 }}}
 as callback. what is the proper method to get exact info from it? as i
 understand "header" var is some kind of associative array. so i must write
 something like
 {{{
 log ("Live start: " + header->"foo")
 }}}
 ?
 one more question: what will happen if "foo" index is not present in
 header?

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/266#comment:4>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to