cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
create_post_role Namespace Reference

Variables

 pr_file = bytearray(in_file.read())
 
string requestString = "POST /configure HTTP/1.1\r\nUser-Agent: curl/7.29.0\r\nContent-Type: application/x-www-form-urlencodedAB\r\n\r\n"
 
 pr_len = len(pr_file)
 
 pr_words = int(pr_len/4)
 
 byteData = bytearray(requestString.encode())
 
 pr_file_size = len(pr_file)
 
 number_of_words = int(pr_file_size/4)
 

Variable Documentation

◆ byteData

create_post_role.byteData = bytearray(requestString.encode())

Definition at line 33 of file create_post_role.py.

◆ number_of_words

create_post_role.number_of_words = int(pr_file_size/4)

Definition at line 37 of file create_post_role.py.

◆ pr_file

create_post_role.pr_file = bytearray(in_file.read())

Definition at line 24 of file create_post_role.py.

◆ pr_file_size

create_post_role.pr_file_size = len(pr_file)

Definition at line 35 of file create_post_role.py.

◆ pr_len

create_post_role.pr_len = len(pr_file)

Definition at line 29 of file create_post_role.py.

◆ pr_words

create_post_role.pr_words = int(pr_len/4)

Definition at line 30 of file create_post_role.py.

◆ requestString

string create_post_role.requestString = "POST /configure HTTP/1.1\r\nUser-Agent: curl/7.29.0\r\nContent-Type: application/x-www-form-urlencodedAB\r\n\r\n"

Definition at line 27 of file create_post_role.py.