| Import line: | Soup = imports.gi.Soup; | 
| GIR File: | Soup-2.4.gir | 
| C documentation: | SoupCookie | 
| Struct : | Cookie | 
| Properties | Defined By | |
|---|---|---|
| 
				domain : String 
                   
                     
			 | Soup.Cookie | |
| 
				expires : Soup.Date 
                   
                     
			 | Soup.Cookie | |
| 
				http_only : gboolean 
                   
                     
			 | Soup.Cookie | |
| 
				name : String 
                   
                     
			 | Soup.Cookie | |
| 
				path : String 
                   
                     
			 | Soup.Cookie | |
| 
				secure : gboolean 
                   
                     
			 | Soup.Cookie | |
| 
				value : String 
                   
                     
			 | Soup.Cookie | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Soup.Cookie
				
				 () 
			
				
			
		 Create a new Soup.Cookie 
			
			
			
				Create a new Soup.Cookie
			
			
			
			 
			
			
			 
		    
		     
                     | ||
| 
			new  Soup.Cookie.c_new
				
				 (String name, String value, String domain, String path, gint32 max_age) 
			
				
					 : 
					Soup.Cookie
					
				
			
		 Create a new Soup.Cookie 
			
			
			
				Create a new Soup.Cookie
			
			
				 
 
 | ||
| Tests if cookie should be sent to uri. | Soup.Cookie | |
| 
			copy
				
				 () 
			
				
					 : 
					Soup.Cookie
					
				
			
		 Copies cookie. 
			
				Copies cookie.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Soup.Cookie | |
| Soup.Cookie | ||
| 
 
 | Soup.Cookie | |
| 
			free
				
				 () 
			
				
					 : 
					none
					
				
			
		 Frees cookie 
			
				Frees cookie
		    
				
			
			
			
			
			
			 
			
			
				 
 | Soup.Cookie | |
| 
			get_domain
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets cookie's domain 
			
				Gets cookie's domain
		    
				
			
			
			
			
			
			 
			
			
				 
 | Soup.Cookie | |
| 
			get_expires
				
				 () 
			
				
					 : 
					Soup.Date
					
				
			
		 Gets cookie's expiration time owned by cookie and should not be modified or freed. 
			
				Gets cookie's expiration time owned by cookie and should not be modified or freed. 
 | Soup.Cookie | |
| 
			get_http_only
				
				 () 
			
				
					 : 
					gboolean
					
				
			
		 Gets cookie's HttpOnly attribute 
			
				Gets cookie's HttpOnly attribute
		    
				
			
			
			
			
			
			 
			
			
				 
 | Soup.Cookie | |
| 
			get_name
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets cookie's name 
			
				Gets cookie's name
		    
				
			
			
			
			
			
			 
			
			
				 
 | Soup.Cookie | |
| 
			get_path
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets cookie's path 
			
				Gets cookie's path
		    
				
			
			
			
			
			
			 
			
			
				 
 | Soup.Cookie | |
| 
			get_secure
				
				 () 
			
				
					 : 
					gboolean
					
				
			
		 Gets cookie's secure attribute 
			
				Gets cookie's secure attribute
		    
				
			
			
			
			
			
			 
			
			
				 
 | Soup.Cookie | |
| 
			get_value
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets cookie's value 
			
				Gets cookie's value
		    
				
			
			
			
			
			
			 
			
			
				 
 | Soup.Cookie | |
| 
			set_domain
				
				 (String domain) 
			
				
					 : 
					none
					
				
			
		 Sets cookie's domain to domain 
			
				Sets cookie's domain to domain
		    
				
			
			
			
			
				 
 
 | Soup.Cookie | |
| 
			set_expires
				
				 (Date expires) 
			
				
					 : 
					none
					
				
			
		 Sets cookie's expiration time to expires. 
			
				Sets cookie's expiration time to expires. If expires is NULL, client's session. (This sets the same property as soup_cookie_set_max_age().) 
 
 | Soup.Cookie | |
| 
			set_http_only
				
				 (gboolean http_only) 
			
				
					 : 
					none
					
				
			
		 Sets cookie's HttpOnly attribute to http_only. 
			
				Sets cookie's HttpOnly attribute to http_only. If TRUE, cookie will be marked as "http only", meaning it should not be exposed to web page scripts or other untrusted code. 
 
 | Soup.Cookie | |
| 
			set_max_age
				
				 (gint32 max_age) 
			
				
					 : 
					none
					
				
			
		 Sets cookie's max age to max_age. 
			
				Sets cookie's max age to max_age. If max_age is -1, the cookie is a session cookie, and will expire at the end of the client's session. Otherwise, it is the number of seconds until the cookie expires. You can use the constants SOUP_COOKIE_MAX_AGE_ONE_HOUR, SOUP_COOKIE_MAX_AGE_ONE_DAY, SOUP_COOKIE_MAX_AGE_ONE_WEEK and SOUP_COOKIE_MAX_AGE_ONE_YEAR (or multiples thereof) to calculate this value. (A value of 0 indicates that the cookie should be considered already-expired.) (This sets the same property as soup_cookie_set_expires().) 
 
 | Soup.Cookie | |
| 
			set_name
				
				 (String name) 
			
				
					 : 
					none
					
				
			
		 Sets cookie's name to name 
			
				Sets cookie's name to name
		    
				
			
			
			
			
				 
 
 | Soup.Cookie | |
| 
			set_path
				
				 (String path) 
			
				
					 : 
					none
					
				
			
		 Sets cookie's path to path 
			
				Sets cookie's path to path
		    
				
			
			
			
			
				 
 
 | Soup.Cookie | |
| 
			set_secure
				
				 (gboolean secure) 
			
				
					 : 
					none
					
				
			
		 Sets cookie's secure attribute to secure. 
			
				Sets cookie's secure attribute to secure. If TRUE, cookie will only be transmitted from the client to the server over secure (https) connections. 
 
 | Soup.Cookie | |
| 
			set_value
				
				 (String value) 
			
				
					 : 
					none
					
				
			
		 Sets cookie's value to value 
			
				Sets cookie's value to value
		    
				
			
			
			
			
				 
 
 | Soup.Cookie | |
| 
			to_cookie_header
				
				 () 
			
				
					 : 
					String
					
				
			
		 Serializes cookie in the format used by the Cookie header (ie, for returning a cookie from a SoupSession to a server). 
			
				Serializes cookie in the format used by the Cookie header (ie, for returning a cookie from a SoupSession to a server). 
 | Soup.Cookie | |
| 
			to_set_cookie_header
				
				 () 
			
				
					 : 
					String
					
				
			
		 Serializes cookie in the format used by the Set-Cookie header (ie, for sending a cookie from a SoupServer to a client). 
			
				Serializes cookie in the format used by the Set-Cookie header (ie, for sending a cookie from a SoupServer to a client). 
 | Soup.Cookie | |
| None | 
| Class / Namespace | Method / Signal / Properties | 
|---|---|
| Soup Method | Parses header and returns a SoupCookie. | 
| Soup.CookieJar Signal |  | 
| Soup.CookieJar Method | 
			add_cookie
				
				 (Cookie cookie) 
			
				
					 : 
					none
					
				
			
		 Adds cookie to jar, emitting the 'changed' signal if we are modifying an existing cookie or adding a valid new cookie ('valid' means that the cookie's expire date is not in the past). | 
| Soup.CookieJar Method | 
			delete_cookie
				
				 (Cookie cookie) 
			
				
					 : 
					none
					
				
			
		 Deletes cookie from jar, emitting the 'changed' signal. |